nixpkgs/pkgs/tools/networking/p2p/bittorrent/default.nix
Eelco Dolstra 9ea7038c51 * BitTorrent 5.0.3.
* wxPython 2.6.3.

svn path=/nixpkgs/trunk/; revision=7341
2006-12-13 20:30:09 +00:00

26 lines
573 B
Nix

{ gui ? false
, stdenv, fetchurl, makeWrapper
, python, wxPython ? null, pycrypto, twisted
}:
assert gui -> wxPython != null;
stdenv.mkDerivation {
name = "bittorrent-5.0.3";
builder = ./builder.sh;
src = fetchurl {
url = http://download.bittorrent.com/dl/BitTorrent-5.0.3.tar.gz;
md5 = "592363a33c35e9f66759a736dbf7e038";
};
buildInputs = [python pycrypto twisted]
++ (if gui then [wxPython] else []);
inherit makeWrapper;
meta = {
description = "The original client for the BitTorrent peer-to-peer file sharing protocol";
};
}