aMule 2.2.1.

svn path=/nixpkgs/trunk/; revision=12446
This commit is contained in:
Ludovic Courtès 2008-07-29 16:52:26 +00:00
parent 2a5a982ad1
commit 3b1eea4c83
2 changed files with 33 additions and 13 deletions

View file

@ -1,18 +1,37 @@
args: with args;
stdenv.mkDerivation {
name = "aMule-2.1.3";
{ fetchurl, stdenv, zlib, wxGTK, perl, cryptopp, gettext }:
src =
fetchurl {
url = mirror://sourceforge/amule/aMule-2.1.3.tar.bz2;
sha256 = "0i027g8sc865c9hgrnz9syy3j0pcl84sa89vbsvk3hkspd3yk5vf";
};
stdenv.mkDerivation rec {
name = "aMule-2.2.1";
buildInputs =[zlib wxGTK];
src = fetchurl {
url = "mirror://sourceforge/amule/${name}.tar.bz2";
sha256 = "0zcsyy6bm7ls1dpmfm0yskd2gj50ah2bvkm0v42826zwzj6sbxy9";
};
buildInputs = [ zlib wxGTK perl cryptopp gettext ];
configureFlags = "--with-crypto-prefix=${cryptopp}";
postConfigure = ''
sed -i "src/libs/ec/file_generator.pl" \
-es'|/usr/bin/perl|${perl}/bin/perl|g'
'';
meta = {
description = "
EDonkey client.
";
homepage = http://amule.org/;
description = "aMule, a peer-to-peer client for the eD2K and Kademlia networks";
longDescription = ''
aMule is an eMule-like client for the eD2k and Kademlia
networks, supporting multiple platforms. Currently aMule
(officially) supports a wide variety of platforms and operating
systems, being compatible with more than 60 different
hardware+OS configurations. aMule is entirely free, its
sourcecode released under the GPL just like eMule, and includes
no adware or spyware as is often found in proprietary P2P
applications.
'';
license = "GPLv2+";
};
}

View file

@ -395,7 +395,8 @@ let pkgs = rec {
};
amule = import ../tools/networking/p2p/amule {
inherit fetchurl stdenv zlib wxGTK;
inherit fetchurl stdenv zlib perl cryptopp gettext;
wxGTK = wxGTK28;
};
aria = builderDefsPackage (import ../tools/networking/aria) {