From d21e981e64dd6836e08cee94c6c423261dc09995 Mon Sep 17 00:00:00 2001 From: Russell O'Connor Date: Sun, 10 Jul 2011 01:12:57 +0000 Subject: [PATCH] Upgrade bitcoin to 0.3.24 svn path=/nixpkgs/trunk/; revision=27687 --- pkgs/applications/misc/bitcoin/default.nix | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/pkgs/applications/misc/bitcoin/default.nix b/pkgs/applications/misc/bitcoin/default.nix index 42b69f37f79d..9d9ddb056daa 100644 --- a/pkgs/applications/misc/bitcoin/default.nix +++ b/pkgs/applications/misc/bitcoin/default.nix @@ -1,18 +1,18 @@ { fetchurl, stdenv, openssl, db4, boost, zlib, glib, libSM, gtk, wxGTK, miniupnpc }: stdenv.mkDerivation rec { - version = "0.3.22"; + version = "0.3.24"; name = "bitcoin-${version}"; src = fetchurl { - url = "mirror://sourceforge/project/bitcoin/Bitcoin/${name}/${name}-linux.tar.gz"; - sha256 = "1nyji3xjyvw91snnbxk71dih3yf292d7mvkakw0nkqplbap14xjb"; + url = "mirror://sourceforge/project/bitcoin/Bitcoin/${name}/${name}-src.tar.gz"; + sha256 = "18n8i37c478b275m2x82411i1fsw8l34qm1k65ynnw38fpaj4h3r"; }; buildInputs = [ openssl db4 boost zlib glib libSM gtk wxGTK miniupnpc ]; preConfigure = '' - cd src/src + cd src substituteInPlace makefile.unix \ --replace "-Wl,-Bstatic" "" \ --replace "-Wl,-Bdynamic" "" \ @@ -21,8 +21,6 @@ stdenv.mkDerivation rec { makefile = "makefile.unix"; - preBuild = "make -f ${makefile} clean"; - buildFlags = "bitcoin bitcoind"; installPhase = ''