pythonPackages.httpsig: init at 1.2.0
This commit is contained in:
parent
16b3217148
commit
582507627f
32
pkgs/development/python-modules/httpsig/default.nix
Normal file
32
pkgs/development/python-modules/httpsig/default.nix
Normal file
@ -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;
|
||||||
|
};
|
||||||
|
}
|
@ -304,6 +304,8 @@ in {
|
|||||||
|
|
||||||
habanero = callPackage ../development/python-modules/habanero { };
|
habanero = callPackage ../development/python-modules/habanero { };
|
||||||
|
|
||||||
|
httpsig = callPackage ../development/python-modules/httpsig { };
|
||||||
|
|
||||||
i3ipc = callPackage ../development/python-modules/i3ipc { };
|
i3ipc = callPackage ../development/python-modules/i3ipc { };
|
||||||
|
|
||||||
intelhex = callPackage ../development/python-modules/intelhex { };
|
intelhex = callPackage ../development/python-modules/intelhex { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user