secp256k1: 2017-12-18 -> 2020-08-16

gstqt5
Artur Cygan 2020-08-19 14:42:25 +02:00 committed by Jonathan Ringer
parent b29a031ca6
commit 6f6f2f2050
1 changed files with 7 additions and 4 deletions

View File

@ -20,13 +20,13 @@ stdenv.mkDerivation {
# I can't find any version numbers, so we're just using the date of the
# last commit.
version = "2017-12-18";
version = "2020-08-16";
src = fetchFromGitHub {
owner = "bitcoin-core";
repo = "secp256k1";
rev = "f54c6c5083307b18224c953cf5870ea7ffce070b";
sha256 = "0bxqmimm627g9klalg1vdbspmn52588v4a6cli3p8bn84ibsnzbm";
rev = "670cdd3f8be25f81472b2d16dcd228b0d24a5c45";
sha256 = "0ak2hrr0wznl5d9s905qwn5yds7k22i28d2jp957l4a8yf8cqv3s";
};
buildInputs = optionals enableJNI [ jdk ];
@ -34,11 +34,14 @@ stdenv.mkDerivation {
nativeBuildInputs = [ autoreconfHook ];
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 enableRecovery [ "--enable-module-recovery" ] ++
optionals enableJNI [ "--enable-jni" ];
doCheck = true;
checkPhase = "./tests";
meta = with stdenv.lib; {
description = "Optimized C library for EC operations on curve secp256k1";
longDescription = ''