diff options
Diffstat (limited to 'pkgs/tools/networking/p2p')
-rw-r--r-- | pkgs/tools/networking/p2p/bittorrent/builder.sh | 5 | ||||
-rw-r--r-- | pkgs/tools/networking/p2p/bittorrent/default.nix | 1 |
2 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/tools/networking/p2p/bittorrent/builder.sh b/pkgs/tools/networking/p2p/bittorrent/builder.sh index 8097995dfbda5..c074c1919ac51 100644 --- a/pkgs/tools/networking/p2p/bittorrent/builder.sh +++ b/pkgs/tools/networking/p2p/bittorrent/builder.sh @@ -1,19 +1,19 @@ source $stdenv/setup + # Workaround for: # File "...-python-2.4.4/lib/python2.4/posixpath.py", line 62, in join # elif path == '' or path.endswith('/'): # AttributeError: 'NoneType' object has no attribute 'endswith' export HOME=$TMP -buildPhase=buildPhase + buildPhase() { #substituteInPlace BitTorrent/GUI_wx/__init__.py --replace "'2.6'" "'2.8'" python setup.py build } -installPhase=installPhase installPhase() { python setup.py install --prefix=$out @@ -24,4 +24,5 @@ installPhase() { done } + genericBuild diff --git a/pkgs/tools/networking/p2p/bittorrent/default.nix b/pkgs/tools/networking/p2p/bittorrent/default.nix index cfddd48a342e5..980f51d374673 100644 --- a/pkgs/tools/networking/p2p/bittorrent/default.nix +++ b/pkgs/tools/networking/p2p/bittorrent/default.nix @@ -7,6 +7,7 @@ assert gui -> wxPython != null; stdenv.mkDerivation { name = "bittorrent-5.2.0"; + builder = ./builder.sh; src = fetchurl { |