2012-02-22 00:35:35 +01:00
|
|
|
{ stdenv,fetchurl,python, wxPython, makeWrapper }:
|
2007-06-20 11:34:42 +02:00
|
|
|
stdenv.mkDerivation {
|
2011-09-26 00:56:38 +02:00
|
|
|
name = "bit-tornado-0.3.18";
|
2007-06-20 11:34:42 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://download2.bittornado.com/download/BitTornado-0.3.18.tar.gz;
|
|
|
|
sha256 = "1q6rapidnizy8wawasirgyjl9s4lrm7mm740mc5q5sdjyl5svrnr";
|
|
|
|
};
|
|
|
|
|
2012-02-22 00:35:35 +01:00
|
|
|
buildInputs = [ python wxPython makeWrapper ];
|
2007-06-20 11:34:42 +02:00
|
|
|
|
2011-09-22 08:31:35 +02:00
|
|
|
buildPhase = '' '';
|
2011-04-08 16:59:29 +02:00
|
|
|
installPhase = ''
|
|
|
|
python setup.py install --prefix=$out ;
|
2011-09-22 08:31:35 +02:00
|
|
|
for i in $(cd $out/bin && ls); do
|
|
|
|
wrapProgram $out/bin/$i \
|
|
|
|
--prefix PYTHONPATH : "$(toPythonPath $out):$PYTHONPATH"
|
|
|
|
done
|
2011-04-08 16:59:29 +02:00
|
|
|
'';
|
2007-06-26 13:49:45 +02:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Bittorrent client with IPv6 support.";
|
|
|
|
};
|
2007-06-20 11:34:42 +02:00
|
|
|
}
|