zcash: 1.0.8 -> 1.0.11

This commit is contained in:
Daniel Fullmer 2017-08-21 23:29:17 -04:00 committed by Franz Pletz
parent bfb0bf849e
commit 3b3f6d191a

View File

@ -1,27 +1,27 @@
{ stdenv, libsodium, fetchFromGitHub, wget, pkgconfig, autoreconfHook, openssl, db62, boost { stdenv, libsodium, fetchFromGitHub, wget, pkgconfig, autoreconfHook, openssl, db62, boost
, zlib, gtest, gmock, miniupnpc, callPackage, gmp, qt4, utillinux, protobuf, qrencode, libevent , zlib, gtest, gmock, callPackage, gmp, qt4, utillinux, protobuf, qrencode, libevent
, withGui }: , withGui }:
let libsnark = callPackage ./libsnark { inherit boost openssl; }; let libsnark = callPackage ./libsnark { inherit boost openssl; };
librustzcash = callPackage ./librustzcash {}; librustzcash = callPackage ./librustzcash {};
in in
with stdenv.lib; with stdenv.lib;
stdenv.mkDerivation rec{ stdenv.mkDerivation rec {
name = "zcash" + (toString (optional (!withGui) "d")) + "-" + version; name = "zcash" + (toString (optional (!withGui) "d")) + "-" + version;
version = "1.0.8"; version = "1.0.11";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "zcash"; owner = "zcash";
repo = "zcash"; repo = "zcash";
rev = "f630519d865ce22a6cf72a29785f2a876902f8e1"; rev = "v${version}";
sha256 = "1zjxg3dp0amjfs67469yp9b223v9hx29lkxid9wz2ivxj3paq7bv"; sha256 = "09474jdhsg30maqrwfxigbw3llqi8axhh82lz3a23ii2gj68ni55";
}; };
enableParallelBuilding = true; enableParallelBuilding = true;
buildInputs = [ pkgconfig gtest gmock gmp libsnark autoreconfHook openssl wget db62 boost zlib buildInputs = [ pkgconfig gtest gmock gmp libsnark autoreconfHook openssl wget db62 boost zlib
miniupnpc protobuf libevent libsodium librustzcash ] protobuf libevent libsodium librustzcash ]
++ optionals stdenv.isLinux [ utillinux ] ++ optionals stdenv.isLinux [ utillinux ]
++ optionals withGui [ qt4 qrencode ]; ++ optionals withGui [ qt4 qrencode ];