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