summary refs log tree commit diff
path: root/pkgs/tools/networking/p2p
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2008-07-29 16:52:26 +0000
committerLudovic Courtès <ludo@gnu.org>2008-07-29 16:52:26 +0000
commit3b1eea4c8319c075576e68728669a3bc4a577135 (patch)
treea0eccd3de5e6f0586b5e11d7b9745906d0c46a80 /pkgs/tools/networking/p2p
parent2a5a982ad1b5a587f4303761214fe102609271a3 (diff)
downloadnixlib-3b1eea4c8319c075576e68728669a3bc4a577135.tar
nixlib-3b1eea4c8319c075576e68728669a3bc4a577135.tar.gz
nixlib-3b1eea4c8319c075576e68728669a3bc4a577135.tar.bz2
nixlib-3b1eea4c8319c075576e68728669a3bc4a577135.tar.lz
nixlib-3b1eea4c8319c075576e68728669a3bc4a577135.tar.xz
nixlib-3b1eea4c8319c075576e68728669a3bc4a577135.tar.zst
nixlib-3b1eea4c8319c075576e68728669a3bc4a577135.zip
aMule 2.2.1.
svn path=/nixpkgs/trunk/; revision=12446
Diffstat (limited to 'pkgs/tools/networking/p2p')
-rw-r--r--pkgs/tools/networking/p2p/amule/default.nix43
1 files changed, 31 insertions, 12 deletions
diff --git a/pkgs/tools/networking/p2p/amule/default.nix b/pkgs/tools/networking/p2p/amule/default.nix
index a7b89a41c8cc..38aa9474f79e 100644
--- a/pkgs/tools/networking/p2p/amule/default.nix
+++ b/pkgs/tools/networking/p2p/amule/default.nix
@@ -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+";    
   };
 }