1{ lib
2, buildPythonPackage
3, fetchPypi
4, setuptools-scm
5, pycryptodome
6, requests
7, six
8}:
9
10buildPythonPackage rec {
11 pname = "httpsig";
12 version = "1.3.0";
13
14 src = fetchPypi {
15 inherit pname version;
16 sha256 = "1rkc3zwsq53rjsmc47335m4viljiwdbmw3y2zry4z70j8q1dbmki";
17 };
18
19 buildInputs = [
20 setuptools-scm
21 ];
22
23 propagatedBuildInputs = [
24 pycryptodome
25 requests
26 six
27 ];
28
29 pythonImportsCheck = [ "httpsig" ];
30
31 meta = with lib; {
32 description = "Sign HTTP requests with secure signatures";
33 license = licenses.mit;
34 maintainers = with maintainers; [ srhb ];
35 homepage = "https://github.com/ahknight/httpsig";
36 };
37}