10 version = "unstable-2022-02-06";
12 src = fetchFromGitHub {
13 owner = "bitcoin-core";
15 rev = "5dcc6f8dbdb1850570919fc9942d22f728dbc0af";
16 sha256 = "x9qG2S6tBSRseWaFIN9N2fRpY1vkv8idT3d3rfJnmaU=";
19 nativeBuildInputs = [ autoreconfHook ];
22 "--enable-benchmark=no"
23 "--enable-exhaustive-tests=no"
24 "--enable-experimental"
25 "--enable-module-ecdh"
26 "--enable-module-recovery"
27 "--enable-module-schnorrsig"
33 checkPhase = "./tests";
36 description = "Optimized C library for EC operations on curve secp256k1";
38 Optimized C library for EC operations on curve secp256k1. Part of
39 Bitcoin Core. This library is a work in progress and is being used
40 to research best practices. Use at your own risk.
42 homepage = "https://github.com/bitcoin-core/secp256k1";
43 license = with licenses; [ mit ];
44 maintainers = with maintainers; [ ];
45 platforms = with platforms; all;