pythonPackages.pyatv: move pytestCheckHook to checkInputs
This commit is contained in:
parent
12642234d9
commit
d7f7eb2a0a
@ -18,12 +18,11 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pyatv";
|
pname = "pyatv";
|
||||||
version = "v0.7.4";
|
version = "0.7.4";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "postlund";
|
owner = "postlund";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = "v${version}";
|
||||||
sha256 = "17gsamn4aibsx4w50r9dwr5kr9anc7dd0f0dvmdl717rkgh13zyi";
|
sha256 = "17gsamn4aibsx4w50r9dwr5kr9anc7dd0f0dvmdl717rkgh13zyi";
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -37,7 +36,6 @@ buildPythonPackage rec {
|
|||||||
cryptography
|
cryptography
|
||||||
netifaces
|
netifaces
|
||||||
zeroconf
|
zeroconf
|
||||||
pytestCheckHook
|
|
||||||
];
|
];
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
@ -45,6 +43,7 @@ buildPythonPackage rec {
|
|||||||
pytest
|
pytest
|
||||||
pytest-aiohttp
|
pytest-aiohttp
|
||||||
pytest-asyncio
|
pytest-asyncio
|
||||||
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user