@@ -1,23 +1,23 @@
11{ stdenv, fetchurl, pkgconfig, autoreconfHook, openssl, db48, boost
2−, zlib, miniupnpc, qt4, utillinux, protobuf, qrencode
2+, zlib, miniupnpc, qt4, utillinux, protobuf, qrencode, libevent
33, withGui }:
44
55with stdenv.lib;
66stdenv.mkDerivation rec{
77
88 name = "bitcoin" + (toString (optional (!withGui) "d")) + "-" + version;
9− core_version = "0.11.0";
9+ core_version = "0.12.0";
1010 version = core_version;
1111
1212 src = fetchurl {
1313 urls = [ "https://bitcoin.org/bin/bitcoin-core-${core_version}/bitcoin-${version}.tar.gz"
1414 "mirror://sourceforge/bitcoin/Bitcoin/bitcoin-${core_version}/bitcoin-${version}.tar.gz"
1515 ];
16− sha256 = "51ba1756addfa71567559e3f22331c1d908a63571891287689fff7113035d09f";
16+ sha256 = "0f1cda66c841a548a07cc37e80b0727354b1236d9f374c7d44362acdb85eb3e1";
1717 };
1818
1919 buildInputs = [ pkgconfig autoreconfHook openssl db48 boost zlib
20− miniupnpc protobuf ]
20+ miniupnpc protobuf libevent]
2121 ++ optionals stdenv.isLinux [ utillinux ]
2222 ++ optionals withGui [ qt4 qrencode ];
2323