* 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
This commit is contained in:
@@ -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() {
|
||||
|
||||
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user