aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/python-modules/pyrsistent/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/pyrsistent/default.nix')
-rw-r--r--nixpkgs/pkgs/development/python-modules/pyrsistent/default.nix12
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 cabb96d2256..c8310c39441 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.4";
src = fetchPypi {
inherit pname version;
- sha256 = "0fjwnxg7q1b02j7hk1wqm5xdn7wck9j2g3ggkkizab6l77kjws8n";
+ sha256 = "0cv5xvhfhlj88pb0ghdwivkfcmgi6503qjwxx4r6n06nd6hpzd1l";
};
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/;