3
0
Fork 0
forked from mirrors/nixpkgs

bitcoin: 0.11.0 -> 0.12.0

This commit is contained in:
= 2016-02-24 13:21:53 +01:00
parent 17a759f346
commit 2552fa4bf4

View file

@ -1,23 +1,23 @@
{ stdenv, fetchurl, pkgconfig, autoreconfHook, openssl, db48, boost
, zlib, miniupnpc, qt4, utillinux, protobuf, qrencode
, zlib, miniupnpc, qt4, utillinux, protobuf, qrencode, libevent
, withGui }:
with stdenv.lib;
stdenv.mkDerivation rec{
name = "bitcoin" + (toString (optional (!withGui) "d")) + "-" + version;
core_version = "0.11.0";
core_version = "0.12.0";
version = core_version;
src = fetchurl {
urls = [ "https://bitcoin.org/bin/bitcoin-core-${core_version}/bitcoin-${version}.tar.gz"
"mirror://sourceforge/bitcoin/Bitcoin/bitcoin-${core_version}/bitcoin-${version}.tar.gz"
];
sha256 = "51ba1756addfa71567559e3f22331c1d908a63571891287689fff7113035d09f";
sha256 = "0f1cda66c841a548a07cc37e80b0727354b1236d9f374c7d44362acdb85eb3e1";
};
buildInputs = [ pkgconfig autoreconfHook openssl db48 boost zlib
miniupnpc protobuf ]
miniupnpc protobuf libevent]
++ optionals stdenv.isLinux [ utillinux ]
++ optionals withGui [ qt4 qrencode ];