diff options
Diffstat (limited to 'pkgs/tools/networking/p2p/bittorrent')
-rw-r--r-- | pkgs/tools/networking/p2p/bittorrent/builder.sh | 7 | ||||
-rw-r--r-- | pkgs/tools/networking/p2p/bittorrent/default.nix | 8 |
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 = { |