amule: update and fix build on gcc47

This commit is contained in:
Vladimír Čunát
2013-03-17 10:15:03 +01:00
parent 90fc42c2f2
commit 7cb4d92bec
2 changed files with 26 additions and 3 deletions
+5 -3
View File
@@ -12,17 +12,19 @@ let
edf = enabled: flag: if enabled then "--enable-" + flag else "--disable-" + flag;
in
mkDerivation rec {
name = "aMule-2.2.6";
name = "aMule-2.3.1";
src = fetchurl {
url = "mirror://sourceforge/amule/${name}.tar.bz2";
sha256 = "08l1931hcg1ia8yvhgx70hx64mknjnfn6l78m0ja44w13mgjpqvc";
url = "mirror://sourceforge/amule/${name}.tar.xz";
sha256 = "0hvpx3c005nvxsfand5bwfxxiq3mv0mpykajfm2lkygjh1rw2383";
};
buildInputs =
[ zlib wxGTK perl cryptopp libupnp gettext pkgconfig makeWrapper ]
++ lib.optional httpServer libpng;
patches = [ ./gcc47.patch ]; # from Gentoo
configureFlags = ''
--with-crypto-prefix=${cryptopp}
--disable-debug