1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 setuptools,
6 setuptools-scm,
7 pycryptodome,
8 requests,
9 six,
10 pytestCheckHook,
11}:
12
13buildPythonPackage rec {
14 pname = "httpsig";
15 version = "1.3.0";
16 pyproject = true;
17
18 src = fetchPypi {
19 inherit pname version;
20 hash = "sha256-cdbVAkYSnE98/sIPXlfjUdK4SS1jHMKqlnkUrPkfbOY=";
21 };
22
23 build-system = [
24 setuptools
25 setuptools-scm
26 ];
27
28 dependencies = [
29 pycryptodome
30 requests
31 six
32 setuptools
33 ];
34
35 nativeCheckInputs = [ pytestCheckHook ];
36
37 pythonImportsCheck = [ "httpsig" ];
38
39 meta = with lib; {
40 description = "Sign HTTP requests with secure signatures";
41 license = licenses.mit;
42 maintainers = with maintainers; [ srhb ];
43 homepage = "https://github.com/ahknight/httpsig";
44 };
45}