summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/httpsig
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2021-04-03 18:18:51 +0000
committerGitHub <noreply@github.com>2021-04-03 18:18:51 +0000
commit3bf92ca4db13995e8c7cc322f688874979736012 (patch)
tree67672140483be9e7acba8f9c2cdb509eef83db5f /pkgs/development/python-modules/httpsig
parentbc845e51f007ada14202cd87874bb92fcfdaf526 (diff)
parentb5e8919e566d18ec4d6c2a6a2d698cc8f012f009 (diff)
Merge master into staging-next
Diffstat (limited to 'pkgs/development/python-modules/httpsig')
-rw-r--r--pkgs/development/python-modules/httpsig/default.nix19
1 files changed, 12 insertions, 7 deletions
diff --git a/pkgs/development/python-modules/httpsig/default.nix b/pkgs/development/python-modules/httpsig/default.nix
index 30c918d86feb..accc731eeadf 100644
--- a/pkgs/development/python-modules/httpsig/default.nix
+++ b/pkgs/development/python-modules/httpsig/default.nix
@@ -1,9 +1,10 @@
{ lib
, buildPythonPackage
, fetchPypi
-, setuptools_scm
+, setuptools-scm
, pycryptodome
, requests
+, six
}:
buildPythonPackage rec {
@@ -15,13 +16,17 @@ buildPythonPackage rec {
sha256 = "1rkc3zwsq53rjsmc47335m4viljiwdbmw3y2zry4z70j8q1dbmki";
};
- buildInputs = [ setuptools_scm ];
- propagatedBuildInputs = [ pycryptodome requests ];
+ buildInputs = [
+ setuptools-scm
+ ];
- # Jailbreak pycryptodome
- preBuild = ''
- substituteInPlace setup.py --replace "==3.4.7" ""
- '';
+ propagatedBuildInputs = [
+ pycryptodome
+ requests
+ six
+ ];
+
+ pythonImportsCheck = [ "httpsig" ];
meta = with lib; {
description = "Sign HTTP requests with secure signatures";