nixpkgs/pkgs/tools/networking/p2p/bit-tornado/default.nix
Yury G. Kudryashov fe3df64918 Add version info to bittornado.name
svn path=/nixpkgs/trunk/; revision=29483
2011-09-25 22:56:38 +00:00

26 lines
654 B
Nix

{stdenv,fetchurl,python, wxPython, makeWrapper,
ssl}:
stdenv.mkDerivation {
name = "bit-tornado-0.3.18";
src = fetchurl {
url = http://download2.bittornado.com/download/BitTornado-0.3.18.tar.gz;
sha256 = "1q6rapidnizy8wawasirgyjl9s4lrm7mm740mc5q5sdjyl5svrnr";
};
buildInputs = [python wxPython makeWrapper ssl];
buildPhase = '' '';
installPhase = ''
python setup.py install --prefix=$out ;
for i in $(cd $out/bin && ls); do
wrapProgram $out/bin/$i \
--prefix PYTHONPATH : "$(toPythonPath $out):$PYTHONPATH"
done
'';
meta = {
description = "Bittorrent client with IPv6 support.";
};
}