24 buildPythonPackage rec {
29 disabled = pythonOlder "3.7";
31 src = fetchFromGitHub {
35 hash = "sha256-NKx/iLuzFEu1UBuwa14x55Ab3laVAKEtX6dtoWi0dOg=";
48 dontUseCmakeConfigure = true;
50 env.COINCURVE_IGNORE_SYSTEM_LIB = "OFF";
52 buildInputs = [ secp256k1 ];
60 # https://github.com/ofek/coincurve/blob/master/tox.ini#L20-L22=
63 # don't run benchmark tests
64 rm tests/test_bench.py
67 nativeCheckInputs = [ pytestCheckHook ];
69 pythonImportsCheck = [ "coincurve" ];
72 description = "Cross-platform bindings for libsecp256k1";
73 homepage = "https://github.com/ofek/coincurve";
74 license = with licenses; [