diff options
| author | stuebinm <stuebinm@in.tum.de> | 2022-04-24 18:43:28 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-24 18:43:28 +0200 |
| commit | 92fe62e1de5b587ee05d81400d8701558065f814 (patch) | |
| tree | 2f978329eab91f04aa857a835baed4e412d7c4e4 /pkgs/development/python-modules/httpsig | |
| parent | 1c9c4a8e807703e0414c01a1a05b45cef974e177 (diff) | |
| parent | a3c605936a1d4ac47c61c875cf63b3d9e0b4415d (diff) | |
Merge branch 'master' into nextcloud-secrets
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"; |
