From d3f3ad3b26d4c9737f8e4f9a4d251aa49023a17e Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Thu, 1 Dec 2016 12:34:57 +0100 Subject: [PATCH] pythonPackages.pyjwt: does not need pytest 2.7 --- pkgs/top-level/python-packages.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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";