diff options
| author | Vladimír Čunát <vcunat@gmail.com> | 2018-09-01 17:37:53 +0200 |
|---|---|---|
| committer | Vladimír Čunát <vcunat@gmail.com> | 2018-09-01 17:38:18 +0200 |
| commit | 2d6179d1e8c15d341f0cade0ab55653623eb5038 (patch) | |
| tree | d69260a6e740c174c9616b2bb6d24a0e98ba8f6e /pkgs/development/python-modules/httpsig | |
| parent | 2e7cb61cfbe6df23a2e223f98ae61e1a385ea747 (diff) | |
| parent | 9a56eee0b144c1e63afc0b5c9e562da9565ea7f0 (diff) | |
Merge branch 'master' into staging
A few trivial conflicts due to *Platforms mass replace.
Diffstat (limited to 'pkgs/development/python-modules/httpsig')
| -rw-r--r-- | pkgs/development/python-modules/httpsig/default.nix | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/httpsig/default.nix b/pkgs/development/python-modules/httpsig/default.nix new file mode 100644 index 000000000000..cff72de36077 --- /dev/null +++ b/pkgs/development/python-modules/httpsig/default.nix @@ -0,0 +1,32 @@ +{ lib +, buildPythonPackage +, fetchPypi +, setuptools_scm +, pycryptodome +, requests +}: + +buildPythonPackage rec { + pname = "httpsig"; + version = "1.2.0"; + + src = fetchPypi { + inherit pname version; + sha256 = "19ng7y7blp13z081z5a6dxng1p8xlih7g6frmsg3q5ri8lvpybc7"; + }; + + buildInputs = [ setuptools_scm ]; + propagatedBuildInputs = [ pycryptodome requests ]; + + # Jailbreak pycryptodome + preBuild = '' + substituteInPlace setup.py --replace "==3.4.7" "" + ''; + + meta = with lib; { + description = "Sign HTTP requests with secure signatures"; + license = licenses.mit; + maintainers = with maintainers; [ srhb ]; + homepage = https://github.com/ahknight/httpsig; + }; +} |
