2018-08-31 01:09:52 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2021-04-03 16:27:43 +01:00
|
|
|
, setuptools-scm
|
2018-08-31 01:09:52 +01:00
|
|
|
, pycryptodome
|
|
|
|
, requests
|
2021-04-03 16:27:43 +01:00
|
|
|
, six
|
2018-08-31 01:09:52 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "httpsig";
|
2019-01-28 09:24:13 +00:00
|
|
|
version = "1.3.0";
|
2018-08-31 01:09:52 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-01-28 09:24:13 +00:00
|
|
|
sha256 = "1rkc3zwsq53rjsmc47335m4viljiwdbmw3y2zry4z70j8q1dbmki";
|
2018-08-31 01:09:52 +01:00
|
|
|
};
|
|
|
|
|
2021-04-03 16:27:43 +01:00
|
|
|
buildInputs = [
|
|
|
|
setuptools-scm
|
|
|
|
];
|
2018-08-31 01:09:52 +01:00
|
|
|
|
2021-04-03 16:27:43 +01:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
pycryptodome
|
|
|
|
requests
|
|
|
|
six
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "httpsig" ];
|
2018-08-31 01:09:52 +01:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Sign HTTP requests with secure signatures";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ srhb ];
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/ahknight/httpsig";
|
2018-08-31 01:09:52 +01:00
|
|
|
};
|
|
|
|
}
|