From d7f7eb2a0a585d985f3941bd138e1dc30b463610 Mon Sep 17 00:00:00 2001 From: Nikita Uvarov Date: Wed, 14 Oct 2020 13:36:03 +0200 Subject: [PATCH] pythonPackages.pyatv: move pytestCheckHook to checkInputs --- pkgs/development/python-modules/pyatv/default.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/pyatv/default.nix b/pkgs/development/python-modules/pyatv/default.nix index 68549e5cabd1..adec3bd07b31 100644 --- a/pkgs/development/python-modules/pyatv/default.nix +++ b/pkgs/development/python-modules/pyatv/default.nix @@ -18,12 +18,11 @@ buildPythonPackage rec { pname = "pyatv"; - version = "v0.7.4"; - + version = "0.7.4"; src = fetchFromGitHub { owner = "postlund"; repo = pname; - rev = version; + rev = "v${version}"; sha256 = "17gsamn4aibsx4w50r9dwr5kr9anc7dd0f0dvmdl717rkgh13zyi"; }; @@ -37,7 +36,6 @@ buildPythonPackage rec { cryptography netifaces zeroconf - pytestCheckHook ]; checkInputs = [ @@ -45,6 +43,7 @@ buildPythonPackage rec { pytest pytest-aiohttp pytest-asyncio + pytestCheckHook ]; meta = with stdenv.lib; {