diff options
| author | Naïm Favier <n@monade.li> | 2023-02-11 14:03:56 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-11 14:03:56 +0100 |
| commit | 86a387351acf96b7137f5f385d978bf3681c7239 (patch) | |
| tree | 893ce1c726bda9df7ec2e3d1649ba811563570ab /pkgs/development/python-modules/httpsig | |
| parent | 5d012c4bb21fa9bee9f34339f95ef8fffa052d56 (diff) | |
| parent | d8d4f25cd2ba0af3a7d35ebce9e05d1eb58b03f4 (diff) | |
Merge branch 'master' into nixos/hostapd
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"; |
