pythonPackages.pyatv: move pytestCheckHook to checkInputs

This commit is contained in:
Nikita Uvarov 2020-10-14 13:36:03 +02:00 committed by Jon
parent 12642234d9
commit d7f7eb2a0a

View file

@ -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; {