Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / starkbank-ecdsa / default.nix
blob70b66b9a4683244541e33332920b930ee381b4af
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pytestCheckHook
5 }:
7 buildPythonPackage rec {
8   pname = "starkbank-ecdsa";
9   version = "1.1.0";
11   src = fetchFromGitHub {
12     owner = "starkbank";
13     repo = "ecdsa-python";
14     rev = "v${version}";
15     sha256 = "03smk33zhmv1j1svgjnykak0jnw8yl0yv03i1gsasx71f33zmfwi";
16   };
18   checkInputs = [ pytestCheckHook ];
19   pytestFlagsArray = [ "-v tests/*.py" ];
20   pythonImportsCheck = [ "ellipticcurve" ];
22   meta = with lib; {
23     description = "Python ECDSA library";
24     homepage = "https://github.com/starkbank/ecdsa-python";
25     license = with licenses; [ mit ];
26     maintainers = with maintainers; [ fab ];
27   };