Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / py-ecc / default.nix
blob9a7d1c3720c8f3b661e941ba8a0622317e0b4ea0
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , cached-property
5 , eth-typing
6 , eth-utils
7 , mypy-extensions
8 , pytestCheckHook
9 , pythonOlder
12 buildPythonPackage rec {
13   pname = "py-ecc";
14   version = "6.0.0";
15   disabled = pythonOlder "3.6";
17   src = fetchFromGitHub {
18     owner = "ethereum";
19     repo = "py_ecc";
20     rev = "v${version}";
21     hash = "sha256-638otYA3e/Ld4mcM69yrqHQnGoK/Sfl/UA9FWnjgO/U=";
22   };
24   propagatedBuildInputs = [
25     cached-property
26     eth-typing
27     eth-utils
28     mypy-extensions
29   ];
31   nativeCheckInputs = [
32     pytestCheckHook
33   ];
35   pythonImportsCheck = [ "py_ecc" ];
37   meta = with lib; {
38     description = "ECC pairing and bn_128 and bls12_381 curve operations";
39     homepage = "https://github.com/ethereum/py_ecc";
40     license = licenses.mit;
41     maintainers = with maintainers; [ ];
42   };