From 608ec38f08a807bbe441e02b8feb2433d9477113 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sun, 5 Jun 2022 19:17:34 +0000 Subject: [PATCH] python2Packages.pyjwt: remove --- .../python2-modules/pyjwt/default.nix | 47 ------------------- pkgs/top-level/python2-packages.nix | 2 - 2 files changed, 49 deletions(-) delete mode 100644 pkgs/development/python2-modules/pyjwt/default.nix diff --git a/pkgs/development/python2-modules/pyjwt/default.nix b/pkgs/development/python2-modules/pyjwt/default.nix deleted file mode 100644 index 011f526e520f..000000000000 --- a/pkgs/development/python2-modules/pyjwt/default.nix +++ /dev/null @@ -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" - ]; - }; -} diff --git a/pkgs/top-level/python2-packages.nix b/pkgs/top-level/python2-packages.nix index e39ee5e9aad2..108be5b87952 100644 --- a/pkgs/top-level/python2-packages.nix +++ b/pkgs/top-level/python2-packages.nix @@ -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 { };