diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2022-04-27 13:34:10 +0200 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2022-04-27 13:34:49 +0200 |
commit | 1855dc550ff2967185b15fffbf69b79e8f2c6228 (patch) | |
tree | 0610f6ebf17c1e9093eb857b3f0104cfcc34c188 /pkgs/development/python-modules/requests-http-signature/default.nix | |
parent | a98e1af265e6c2dd57ddf090c13c0d0da4b04374 (diff) |
python310Packages.requests-http-signature: 0.2.0 -> 0.7.1
Diffstat (limited to 'pkgs/development/python-modules/requests-http-signature/default.nix')
-rw-r--r-- | pkgs/development/python-modules/requests-http-signature/default.nix | 20 |
1 files 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 c51e24e0ac9de..96ade3b45f6d0 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 ]; |