python: PyJWT: 1.6.4 -> 1.7.1

This commit is contained in:
Frederik Rietdijk 2019-02-14 08:37:26 +01:00
parent 5bfad7383e
commit f195d8aa8f

View File

@ -4,27 +4,17 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "PyJWT"; pname = "PyJWT";
version = "1.6.4"; version = "1.7.1";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "4ee413b357d53fd3fb44704577afac88e72e878716116270d722723d65b42176"; sha256 = "8d59a976fb773f3e6a39c85636357c4f0e242707394cadadd9814f5cbaa20e96";
}; };
propagatedBuildInputs = [ cryptography ecdsa ]; propagatedBuildInputs = [ cryptography ecdsa ];
checkInputs = [ pytestrunner pytestcov pytest ]; checkInputs = [ pytestrunner pytestcov pytest ];
# pytest 3.9.0 changed behavior of deprecated_call, see release notes
postPatch = ''
for x in tests/test_api_*py; do
substituteInPlace "$x" --replace AssertionError pytest.fail.Exception
done
'';
# https://github.com/jpadilla/pyjwt/issues/382
doCheck = false;
meta = with lib; { meta = with lib; {
description = "JSON Web Token implementation in Python"; description = "JSON Web Token implementation in Python";
homepage = https://github.com/jpadilla/pyjwt; homepage = https://github.com/jpadilla/pyjwt;