2007-06-20 10:34:42 +01:00
|
|
|
{stdenv,fetchurl,python,wxPython26}:
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "bit-tornado";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://download2.bittornado.com/download/BitTornado-0.3.18.tar.gz;
|
|
|
|
sha256 = "1q6rapidnizy8wawasirgyjl9s4lrm7mm740mc5q5sdjyl5svrnr";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [python];
|
|
|
|
|
|
|
|
buildPhase = " ";
|
2011-04-08 15:59:29 +01:00
|
|
|
installPhase = ''
|
|
|
|
python setup.py install --prefix=$out ;
|
|
|
|
echo 'export PYTHONPATH=$PYTHONPATH:'$out'/lib/${python.libPrefix}/site-packages:${wxPython26}/lib/${python.libPrefix}/site-packages:${wxPython26}/lib/${python.libPrefix}/site-packages/wx-2.6-gtk2-unicode
|
|
|
|
python `which btdownloadgui.py` --ipv6_enabled 1 --ipv6_binds_v4 0 "$@";' > $out/bin/bittornado ;
|
|
|
|
chmod a+rx $out/bin/bittornado;
|
|
|
|
'';
|
2007-06-26 12:49:45 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Bittorrent client with IPv6 support.";
|
|
|
|
};
|
2007-06-20 10:34:42 +01:00
|
|
|
}
|