diff options
| author | Frederik Rietdijk <freddyrietdijk@fridh.nl> | 2021-04-04 12:59:12 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-04 12:59:12 +0200 |
| commit | 1e7ed8b2f3e729eddf15bca1ce293d5cdfb1ab50 (patch) | |
| tree | c3077c46181b2f132c97c12007bd7b5b23dff243 /pkgs/development/python-modules/httpsig | |
| parent | a55da781d756cf64a9995ac3e603eb77a6901bba (diff) | |
| parent | 397730e0f4b387a0faf4c62e08b9d09853b395f8 (diff) | |
Merge branch 'staging' into python-unstable
Diffstat (limited to 'pkgs/development/python-modules/httpsig')
| -rw-r--r-- | pkgs/development/python-modules/httpsig/default.nix | 19 |
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"; |
