diff options
| author | Alexander Shestakov <a.shestakov@itransition.com> | 2021-07-12 12:50:28 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-12 12:50:28 +0300 |
| commit | cf364240093b278aeebca2ce7eff97748af7315a (patch) | |
| tree | 92ee610712836b7c7725afcd854aaec1ddd63151 /pkgs/development/python-modules/httpsig | |
| parent | 671dd83a29a69aab6fd7f9ac133d115a35516435 (diff) | |
| parent | 13b3e91794b9c3ef258122d946524eb57e3d13fd (diff) | |
Merge branch 'master' into master
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"; |
