mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-13 21:32:23 +03:00
python: PyJWT: 1.6.4 -> 1.7.1
This commit is contained in:
parent
5bfad7383e
commit
f195d8aa8f
@ -4,27 +4,17 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "PyJWT";
|
||||
version = "1.6.4";
|
||||
version = "1.7.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "4ee413b357d53fd3fb44704577afac88e72e878716116270d722723d65b42176";
|
||||
sha256 = "8d59a976fb773f3e6a39c85636357c4f0e242707394cadadd9814f5cbaa20e96";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ cryptography ecdsa ];
|
||||
|
||||
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; {
|
||||
description = "JSON Web Token implementation in Python";
|
||||
homepage = https://github.com/jpadilla/pyjwt;
|
||||
|
Loading…
Reference in New Issue
Block a user