python3Packages.denonavr: 0.9.3 -> 0.9.9
Disable on Python 2.7, convert tests to pytestCheckHook.
This commit is contained in:
parent
77cbb1af09
commit
70e8dbcb1d
@ -1,24 +1,28 @@
|
|||||||
{ lib, buildPythonPackage, fetchFromGitHub, isPy27, requests, netifaces
|
{ lib, buildPythonPackage, fetchFromGitHub, isPy27, requests, netifaces
|
||||||
, pytest, testtools, requests-mock }:
|
, pytestCheckHook, testtools, requests-mock }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "denonavr";
|
pname = "denonavr";
|
||||||
version = "0.9.3";
|
version = "0.9.9";
|
||||||
|
disabled = isPy27;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "scarface-4711";
|
owner = "scarface-4711";
|
||||||
repo = "denonavr";
|
repo = "denonavr";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "0s8v918n6xn44r2mrq5hqbf0znpz64clq7a1jakkgz9py8bi6vnn";
|
sha256 = "08zh8rdadmxcgr707if6g5k5j2xz21s6jrn4kxh1c7xqpgdfggd9";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ requests netifaces ];
|
propagatedBuildInputs = [
|
||||||
|
requests
|
||||||
|
netifaces
|
||||||
|
];
|
||||||
|
|
||||||
doCheck = !isPy27;
|
checkInputs = [
|
||||||
checkInputs = [ pytest testtools requests-mock ];
|
pytestCheckHook
|
||||||
checkPhase = ''
|
testtools
|
||||||
pytest tests
|
requests-mock
|
||||||
'';
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/scarface-4711/denonavr";
|
homepage = "https://github.com/scarface-4711/denonavr";
|
||||||
|
Loading…
Reference in New Issue
Block a user