secp256k1: 2017-12-18 -> 2020-08-16
This commit is contained in:
parent
b29a031ca6
commit
6f6f2f2050
@ -20,13 +20,13 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
# I can't find any version numbers, so we're just using the date of the
|
# I can't find any version numbers, so we're just using the date of the
|
||||||
# last commit.
|
# last commit.
|
||||||
version = "2017-12-18";
|
version = "2020-08-16";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "bitcoin-core";
|
owner = "bitcoin-core";
|
||||||
repo = "secp256k1";
|
repo = "secp256k1";
|
||||||
rev = "f54c6c5083307b18224c953cf5870ea7ffce070b";
|
rev = "670cdd3f8be25f81472b2d16dcd228b0d24a5c45";
|
||||||
sha256 = "0bxqmimm627g9klalg1vdbspmn52588v4a6cli3p8bn84ibsnzbm";
|
sha256 = "0ak2hrr0wznl5d9s905qwn5yds7k22i28d2jp957l4a8yf8cqv3s";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = optionals enableJNI [ jdk ];
|
buildInputs = optionals enableJNI [ jdk ];
|
||||||
@ -34,11 +34,14 @@ stdenv.mkDerivation {
|
|||||||
nativeBuildInputs = [ autoreconfHook ];
|
nativeBuildInputs = [ autoreconfHook ];
|
||||||
|
|
||||||
configureFlags =
|
configureFlags =
|
||||||
[ "--enable-benchmark=no" "--enable-tests=no" "--enable-exhaustive-tests=no" ] ++
|
[ "--enable-benchmark=no" "--enable-tests=yes" "--enable-exhaustive-tests=no" ] ++
|
||||||
optionals enableECDH [ "--enable-module-ecdh" "--enable-experimental" ] ++
|
optionals enableECDH [ "--enable-module-ecdh" "--enable-experimental" ] ++
|
||||||
optionals enableRecovery [ "--enable-module-recovery" ] ++
|
optionals enableRecovery [ "--enable-module-recovery" ] ++
|
||||||
optionals enableJNI [ "--enable-jni" ];
|
optionals enableJNI [ "--enable-jni" ];
|
||||||
|
|
||||||
|
doCheck = true;
|
||||||
|
checkPhase = "./tests";
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Optimized C library for EC operations on curve secp256k1";
|
description = "Optimized C library for EC operations on curve secp256k1";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user