diff options
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/pyzerproc/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/pyzerproc/default.nix | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/pyzerproc/default.nix b/nixpkgs/pkgs/development/python-modules/pyzerproc/default.nix index 8040458bf766..99f1ac7fd099 100644 --- a/nixpkgs/pkgs/development/python-modules/pyzerproc/default.nix +++ b/nixpkgs/pkgs/development/python-modules/pyzerproc/default.nix @@ -5,7 +5,6 @@ , buildPythonPackage , fetchFromGitHub , pytest-asyncio -, pytest-cov , pytest-mock , pytestCheckHook , pythonOlder @@ -13,19 +12,18 @@ buildPythonPackage rec { pname = "pyzerproc"; - version = "0.4.6"; + version = "0.4.9"; disabled = pythonOlder "3.6"; src = fetchFromGitHub { owner = "emlove"; repo = pname; rev = version; - sha256 = "1qlxvvy9fyff56dvc46nsd5ngkxqhdi7s4gwfndj7dn76j81srpq"; + sha256 = "11bsvmvazx9gpj0w80b6wgdp41z8y2sk6bhkj3ps7grsgr59n7rz"; }; - # Remove pytest-runner, https://github.com/emlove/pyzerproc/pull/1 - patchPhase = '' - substituteInPlace setup.py --replace "'pytest-runner'," "" + postPatch = '' + sed -i "/--cov/d" setup.cfg ''; propagatedBuildInputs = [ @@ -34,11 +32,11 @@ buildPythonPackage rec { ]; checkInputs = [ - asynctest pytest-asyncio - pytest-cov pytest-mock pytestCheckHook + ] ++ lib.optionals (pythonOlder "3.8") [ + asynctest ]; pythonImportsCheck = [ "pyzerproc" ]; |