diff options
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/pyrsistent/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/pyrsistent/default.nix | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/pyrsistent/default.nix b/nixpkgs/pkgs/development/python-modules/pyrsistent/default.nix index cabb96d22565..bbed677dfaf6 100644 --- a/nixpkgs/pkgs/development/python-modules/pyrsistent/default.nix +++ b/nixpkgs/pkgs/development/python-modules/pyrsistent/default.nix @@ -2,23 +2,27 @@ , buildPythonPackage , fetchPypi , six -, pytest +, pytest_4 , hypothesis , pytestrunner }: buildPythonPackage rec { pname = "pyrsistent"; - version = "0.15.2"; + version = "0.15.6"; src = fetchPypi { inherit pname version; - sha256 = "0fjwnxg7q1b02j7hk1wqm5xdn7wck9j2g3ggkkizab6l77kjws8n"; + sha256 = "f3b280d030afb652f79d67c5586157c5c1355c9a58dfc7940566e28d28f3df1b"; }; propagatedBuildInputs = [ six ]; - checkInputs = [ pytestrunner pytest hypothesis ]; + checkInputs = [ pytestrunner pytest_4 hypothesis ]; + + postPatch = '' + substituteInPlace setup.py --replace 'pytest<5' 'pytest' + ''; meta = with stdenv.lib; { homepage = https://github.com/tobgu/pyrsistent/; |