biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / http-message-signatures / default.nix
blob47041ff971fa331bac7908497ee5e731116163af
2   lib,
3   buildPythonPackage,
4   cryptography,
5   fetchFromGitHub,
6   http-sfv,
7   pytestCheckHook,
8   pythonOlder,
9   setuptools-scm,
10   requests,
13 buildPythonPackage rec {
14   pname = "http-message-signatures";
15   version = "0.5.0";
16   format = "setuptools";
18   disabled = pythonOlder "3.7";
20   src = fetchFromGitHub {
21     owner = "pyauth";
22     repo = pname;
23     rev = "v${version}";
24     hash = "sha256-Jsivw4lNA/2oqsOGGx8D4gUPftzuys877A9RXyapnSQ=";
25   };
27   nativeBuildInputs = [ setuptools-scm ];
29   propagatedBuildInputs = [
30     cryptography
31     http-sfv
32   ];
34   nativeCheckInputs = [
35     pytestCheckHook
36     requests
37   ];
39   pytestFlagsArray = [ "test/test.py" ];
41   pythonImportsCheck = [ "http_message_signatures" ];
43   meta = with lib; {
44     description = "Requests authentication module for HTTP Signature";
45     homepage = "https://github.com/pyauth/http-message-signatures";
46     license = licenses.asl20;
47     maintainers = with maintainers; [ fab ];
48   };