diff options
| author | Robert Schütz <robert.schuetz@stud.uni-heidelberg.de> | 2018-08-31 17:32:48 +0200 |
|---|---|---|
| committer | Robert Schütz <robert.schuetz@stud.uni-heidelberg.de> | 2018-08-31 17:32:48 +0200 |
| commit | 93550cbddfeacd4902bebbfaab2c9c3d337f5650 (patch) | |
| tree | df3259694e2c0ab3ae79449601880ce68e365f7e /pkgs/development/python-modules/httpsig | |
| parent | a9780a095bd05c5104c643f927a680194d040a92 (diff) | |
| parent | dde959a8965af69e19a4bf7b246095a97dc3dbc8 (diff) | |
Merge branch 'master' into staging-next
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; + }; +} |
