summary refs log tree commit diff
path: root/pkgs/tools/security/secp256k1
diff options
context:
space:
mode:
authorArtur Cygan <arczicygan@gmail.com>2020-08-19 14:42:25 +0200
committerJonathan Ringer <jonringer@users.noreply.github.com>2020-11-23 06:49:05 -0800
commit6f6f2f2050ea1cbe22899053caa7f22077127d4d (patch)
tree502191985fad7bb708dc69fe531201ba15bad8d6 /pkgs/tools/security/secp256k1
parentb29a031ca6ce51970d6114d2f8211441f2cd1af3 (diff)
downloadnixpkgs-6f6f2f2050ea1cbe22899053caa7f22077127d4d.tar
nixpkgs-6f6f2f2050ea1cbe22899053caa7f22077127d4d.tar.gz
nixpkgs-6f6f2f2050ea1cbe22899053caa7f22077127d4d.tar.bz2
nixpkgs-6f6f2f2050ea1cbe22899053caa7f22077127d4d.tar.lz
nixpkgs-6f6f2f2050ea1cbe22899053caa7f22077127d4d.tar.xz
nixpkgs-6f6f2f2050ea1cbe22899053caa7f22077127d4d.tar.zst
nixpkgs-6f6f2f2050ea1cbe22899053caa7f22077127d4d.zip
secp256k1: 2017-12-18 -> 2020-08-16
Diffstat (limited to 'pkgs/tools/security/secp256k1')
-rw-r--r--pkgs/tools/security/secp256k1/default.nix11
1 files changed, 7 insertions, 4 deletions
diff --git a/pkgs/tools/security/secp256k1/default.nix b/pkgs/tools/security/secp256k1/default.nix
index b5e92a35454..d3b43d6adf6 100644
--- a/pkgs/tools/security/secp256k1/default.nix
+++ b/pkgs/tools/security/secp256k1/default.nix
@@ -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 = ''