about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2016-12-01 12:34:57 +0100
committerFrederik Rietdijk <fridh@fridh.nl>2016-12-01 21:07:33 +0100
commitd3f3ad3b26d4c9737f8e4f9a4d251aa49023a17e (patch)
tree22da7c42f75edd1e1b52407fb95715fc189c9972
parent49a313c395006ede63850f42c3887d2e1446b43a (diff)
downloadnixlib-d3f3ad3b26d4c9737f8e4f9a4d251aa49023a17e.tar
nixlib-d3f3ad3b26d4c9737f8e4f9a4d251aa49023a17e.tar.gz
nixlib-d3f3ad3b26d4c9737f8e4f9a4d251aa49023a17e.tar.bz2
nixlib-d3f3ad3b26d4c9737f8e4f9a4d251aa49023a17e.tar.lz
nixlib-d3f3ad3b26d4c9737f8e4f9a4d251aa49023a17e.tar.xz
nixlib-d3f3ad3b26d4c9737f8e4f9a4d251aa49023a17e.tar.zst
nixlib-d3f3ad3b26d4c9737f8e4f9a4d251aa49023a17e.zip
pythonPackages.pyjwt: does not need pytest 2.7
-rw-r--r--pkgs/top-level/python-packages.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix
index 201c34f3a9a6..7c70d76b065b 100644
--- a/pkgs/top-level/python-packages.nix
+++ b/pkgs/top-level/python-packages.nix
@@ -20284,9 +20284,14 @@ in {
       sha256 = "06vg84aicwkv0kli8i4jhg0kc6298cmh38ib058q01yxzk6q17gn";
     };
 
-    buildInputs = with self; [ pytestrunner pytestcov pytest_27 coverage ];
+    buildInputs = with self; [ pytestrunner pytestcov pytest coverage ];
     propagatedBuildInputs = with self; [ pycrypto ecdsa ];
 
+    # We don't need this specific version
+    postPatch = ''
+      substituteInPlace setup.py --replace "pytest==2.7.3" "pytest"
+    '';
+
     meta = {
       description = "JSON Web Token implementation in Python";
       longDescription = "A Python implementation of JSON Web Token draft 01";