summary refs log tree commit diff
path: root/pkgs/tools/networking
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2007-05-31 13:43:13 +0000
committerEelco Dolstra <eelco.dolstra@logicblox.com>2007-05-31 13:43:13 +0000
commitd16ae4efcf86c59c9fc59a488ad5feaf926177e9 (patch)
treee47995a50711ad22db00ae9215afba45e4e23d06 /pkgs/tools/networking
parente954f7ef8b3cfea1f530e3d4680132709acc9b95 (diff)
downloadnixlib-d16ae4efcf86c59c9fc59a488ad5feaf926177e9.tar
nixlib-d16ae4efcf86c59c9fc59a488ad5feaf926177e9.tar.gz
nixlib-d16ae4efcf86c59c9fc59a488ad5feaf926177e9.tar.bz2
nixlib-d16ae4efcf86c59c9fc59a488ad5feaf926177e9.tar.lz
nixlib-d16ae4efcf86c59c9fc59a488ad5feaf926177e9.tar.xz
nixlib-d16ae4efcf86c59c9fc59a488ad5feaf926177e9.tar.zst
nixlib-d16ae4efcf86c59c9fc59a488ad5feaf926177e9.zip
* Added wxGTK/wxPython 2.8. However this was quite pointless as
  Bittorrent is even more broken with wxPython 2.8.

svn path=/nixpkgs/trunk/; revision=8812
Diffstat (limited to 'pkgs/tools/networking')
-rw-r--r--pkgs/tools/networking/p2p/bittorrent/builder.sh7
-rw-r--r--pkgs/tools/networking/p2p/bittorrent/default.nix8
2 files changed, 10 insertions, 5 deletions
diff --git a/pkgs/tools/networking/p2p/bittorrent/builder.sh b/pkgs/tools/networking/p2p/bittorrent/builder.sh
index 6ae3bef5e237..633f53ebd43d 100644
--- a/pkgs/tools/networking/p2p/bittorrent/builder.sh
+++ b/pkgs/tools/networking/p2p/bittorrent/builder.sh
@@ -7,7 +7,12 @@ source $makeWrapper
 # AttributeError: 'NoneType' object has no attribute 'endswith'
 export HOME=$TMP
 
-buildPhase="python setup.py build"
+buildPhase=buildPhase
+buildPhase() {
+    #substituteInPlace BitTorrent/GUI_wx/__init__.py --replace "'2.6'" "'2.8'"
+    python setup.py build
+}
+
 
 installPhase=installPhase
 installPhase() {
diff --git a/pkgs/tools/networking/p2p/bittorrent/default.nix b/pkgs/tools/networking/p2p/bittorrent/default.nix
index a500cc9d4b4b..3894cbd36d41 100644
--- a/pkgs/tools/networking/p2p/bittorrent/default.nix
+++ b/pkgs/tools/networking/p2p/bittorrent/default.nix
@@ -6,17 +6,17 @@
 assert gui -> wxPython != null;
 
 stdenv.mkDerivation {
-  name = "bittorrent-5.0.4";
+  name = "bittorrent-5.0.7";
   builder = ./builder.sh;
   
   src = fetchurl {
-    url = http://download.bittorrent.com/dl/BitTorrent-5.0.4.tar.gz;
-    md5 = "3f6a1093102541e88a16d6c1c62e8bcc";
+    url = http://download.bittorrent.com/dl/BitTorrent-5.0.7.tar.gz;
+    sha256 = "09m2qlhzbc6j1hf6fniri0hh6cy6ccgwi2sph65bpjrc417l94gj";
   };
   
   buildInputs = [python pycrypto twisted]
     ++ (if gui then [wxPython] else []);
-  
+
   inherit makeWrapper;
 
   meta = {