diff --git a/pkgs/development/python-modules/nose2/default.nix b/pkgs/development/python-modules/nose2/default.nix index 9d5c1675359e..e708ff2ee3e7 100644 --- a/pkgs/development/python-modules/nose2/default.nix +++ b/pkgs/development/python-modules/nose2/default.nix @@ -2,18 +2,23 @@ , buildPythonPackage , fetchPypi , six +, pythonOlder +, mock +, coverage }: buildPythonPackage rec { pname = "nose2"; - version = "0.5.0"; + version = "0.8.0"; src = fetchPypi { inherit pname version; - sha256 = "0595rh6b6dncbj0jigsyrgrh6h8fsl6w1fr69h76mxv9nllv0rlr"; + sha256 = "9052f2b46807b63d9bdf68e0768da1f8386368889b50043fd5d0889c470258f3"; }; - propagatedBuildInputs = [ six ]; + propagatedBuildInputs = [ six coverage ] + ++ stdenv.lib.optionals (pythonOlder "3.4") [ mock ]; + # AttributeError: 'module' object has no attribute 'collector' doCheck = false;