1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-28 00:22:13 +00:00
nixpkgs/pkgs/tools/networking/p2p/bit-tornado/default.nix
Eelco Dolstra f71dd91a43 * Apply r32435 from the trunk (always build Python with SSL support).
Remove .ssl references from some packages missed in that commit.

svn path=/nixpkgs/branches/stdenv-updates/; revision=32469
2012-02-21 23:35:35 +00:00

25 lines
646 B
Nix

{ stdenv,fetchurl,python, wxPython, makeWrapper }:
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 ];
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.";
};
}