From 1855dc550ff2967185b15fffbf69b79e8f2c6228 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 27 Apr 2022 13:34:10 +0200 Subject: [PATCH] python310Packages.requests-http-signature: 0.2.0 -> 0.7.1 --- .../requests-http-signature/default.nix | 20 +++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/requests-http-signature/default.nix b/pkgs/development/python-modules/requests-http-signature/default.nix index c51e24e0ac9..96ade3b45f6 100644 --- a/pkgs/development/python-modules/requests-http-signature/default.nix +++ b/pkgs/development/python-modules/requests-http-signature/default.nix @@ -1,25 +1,37 @@ { lib , buildPythonPackage , fetchFromGitHub -, cryptography +, http-message-signatures +, http-sfv , requests , pytestCheckHook +, pythonOlder +, setuptools-scm }: buildPythonPackage rec { pname = "requests-http-signature"; - version = "0.2.0"; + version = "0.7.1"; format = "setuptools"; + disabled = pythonOlder "3.7"; + src = fetchFromGitHub { owner = "pyauth"; repo = pname; rev = "v${version}"; - hash = "sha256-B45P/loXcRKOChSDeHOnlz+67mtmTeAMYlo21TOmV8s="; + hash = "sha256-sW2vYqT/nY27DvEKHdptc3dUpuqKmD7PLMs+Xp+cpeU="; }; + SETUPTOOLS_SCM_PRETEND_VERSION = version; + + nativeBuildInputs = [ + setuptools-scm + ]; + propagatedBuildInputs = [ - cryptography + http-message-signatures + http-sfv requests ];