Upgrade bitcoin to 0.3.24
svn path=/nixpkgs/trunk/; revision=27687
This commit is contained in:
parent
f903153fe6
commit
d21e981e64
@ -1,18 +1,18 @@
|
|||||||
{ fetchurl, stdenv, openssl, db4, boost, zlib, glib, libSM, gtk, wxGTK, miniupnpc }:
|
{ fetchurl, stdenv, openssl, db4, boost, zlib, glib, libSM, gtk, wxGTK, miniupnpc }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "0.3.22";
|
version = "0.3.24";
|
||||||
name = "bitcoin-${version}";
|
name = "bitcoin-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/project/bitcoin/Bitcoin/${name}/${name}-linux.tar.gz";
|
url = "mirror://sourceforge/project/bitcoin/Bitcoin/${name}/${name}-src.tar.gz";
|
||||||
sha256 = "1nyji3xjyvw91snnbxk71dih3yf292d7mvkakw0nkqplbap14xjb";
|
sha256 = "18n8i37c478b275m2x82411i1fsw8l34qm1k65ynnw38fpaj4h3r";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ openssl db4 boost zlib glib libSM gtk wxGTK miniupnpc ];
|
buildInputs = [ openssl db4 boost zlib glib libSM gtk wxGTK miniupnpc ];
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
cd src/src
|
cd src
|
||||||
substituteInPlace makefile.unix \
|
substituteInPlace makefile.unix \
|
||||||
--replace "-Wl,-Bstatic" "" \
|
--replace "-Wl,-Bstatic" "" \
|
||||||
--replace "-Wl,-Bdynamic" "" \
|
--replace "-Wl,-Bdynamic" "" \
|
||||||
@ -21,8 +21,6 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
makefile = "makefile.unix";
|
makefile = "makefile.unix";
|
||||||
|
|
||||||
preBuild = "make -f ${makefile} clean";
|
|
||||||
|
|
||||||
buildFlags = "bitcoin bitcoind";
|
buildFlags = "bitcoin bitcoind";
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user