From 64b4038c5519a222fb5742dc3c9ff3114c475835 Mon Sep 17 00:00:00 2001 From: Robert Scott Date: Sat, 24 Feb 2024 14:05:40 +0000 Subject: [PATCH 1/2] python3Packages.jwcrypto: 1.5.1 -> 1.5.4 --- .../development/python-modules/jwcrypto/default.nix | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/jwcrypto/default.nix b/pkgs/development/python-modules/jwcrypto/default.nix index 7bd3126b093e..489458d5c778 100644 --- a/pkgs/development/python-modules/jwcrypto/default.nix +++ b/pkgs/development/python-modules/jwcrypto/default.nix @@ -4,23 +4,30 @@ , cryptography , deprecated , pythonOlder +, setuptools +, typing-extensions }: buildPythonPackage rec { pname = "jwcrypto"; - version = "1.5.1"; - format = "setuptools"; + version = "1.5.4"; + pyproject = true; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-SLub9DN3cTYlNXnlK3X/4PmkpyHRM9AfRaC5HtX08a4="; + hash = "sha256-CBX7q2E9uZuthWkdpfE2+IYEIzlmZ3KKJkvPpuHbNrA="; }; + nativeBuildInputs = [ + setuptools + ]; + propagatedBuildInputs = [ cryptography deprecated + typing-extensions ]; pythonImportsCheck = [ From 4165614b55931d530d04f4975c85e97491a975ad Mon Sep 17 00:00:00 2001 From: Robert Scott Date: Sat, 24 Feb 2024 14:06:03 +0000 Subject: [PATCH 2/2] python3Packages.jwcrypto: enable tests --- pkgs/development/python-modules/jwcrypto/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/python-modules/jwcrypto/default.nix b/pkgs/development/python-modules/jwcrypto/default.nix index 489458d5c778..4a10cd9fad2a 100644 --- a/pkgs/development/python-modules/jwcrypto/default.nix +++ b/pkgs/development/python-modules/jwcrypto/default.nix @@ -3,6 +3,7 @@ , fetchPypi , cryptography , deprecated +, pytestCheckHook , pythonOlder , setuptools , typing-extensions @@ -30,6 +31,8 @@ buildPythonPackage rec { typing-extensions ]; + nativeCheckInputs = [ pytestCheckHook ]; + pythonImportsCheck = [ "jwcrypto" ];