python2Packages.pyjwt: remove

This commit is contained in:
Robert Schütz 2022-06-05 19:17:34 +00:00
parent ed806bb627
commit 608ec38f08
2 changed files with 0 additions and 49 deletions

View file

@ -1,47 +0,0 @@
{ lib
, buildPythonPackage
, fetchPypi
, cryptography
, ecdsa
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "pyjwt";
version = "1.7.1";
src = fetchPypi {
pname = "PyJWT";
inherit version;
sha256 = "8d59a976fb773f3e6a39c85636357c4f0e242707394cadadd9814f5cbaa20e96";
};
postPatch = ''
sed -i '/^addopts/d' setup.cfg
'';
propagatedBuildInputs = [
cryptography
ecdsa
];
checkInputs = [
pytestCheckHook
];
disabledTests = [
"test_ec_verify_should_return_false_if_signature_invalid"
];
pythonImportsCheck = [ "jwt" ];
meta = with lib; {
description = "JSON Web Token implementation in Python";
homepage = "https://github.com/jpadilla/pyjwt";
license = licenses.mit;
knownVulnerabilities = [
"CVE-2022-29217"
];
};
}

View file

@ -110,8 +110,6 @@ with self; with super; {
pygtk = callPackage ../development/python2-modules/pygtk { };
pyjwt = callPackage ../development/python2-modules/pyjwt { };
pyparsing = callPackage ../development/python2-modules/pyparsing { };
pyroma = callPackage ../development/python2-modules/pyroma { };