7 stdenv.mkDerivation rec {
12 src = fetchFromGitHub {
13 owner = "bitcoin-core";
15 rev = "refs/tags/v${version}";
16 sha256 = "sha256-IYvvBob8e82EiPLX9yA8fd+KWrMri1rI5csp81rAdrg=";
19 nativeBuildInputs = [ autoreconfHook ];
22 "--enable-benchmark=no"
23 "--enable-module-recovery"
29 description = "Optimized C library for EC operations on curve secp256k1";
31 Optimized C library for EC operations on curve secp256k1. Part of
32 Bitcoin Core. This library is a work in progress and is being used
33 to research best practices. Use at your own risk.
35 homepage = "https://github.com/bitcoin-core/secp256k1";
36 license = with licenses; [ mit ];
38 platforms = with platforms; all;