3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/networking/p2p/bittorrent/default.nix
Eelco Dolstra 90b3af3bd7 * Bittorrent updated to 5.2.2 (5.3 seems too hard to build).
svn path=/nixpkgs/trunk/; revision=21877
2010-05-19 14:42:52 +00:00

25 lines
595 B
Nix

{ gui ? false
, stdenv, fetchurl, makeWrapper
, python, wxPython ? null, pycrypto, twisted
}:
assert gui -> wxPython != null;
stdenv.mkDerivation {
name = "bittorrent-5.2.2";
builder = ./builder.sh;
src = fetchurl {
url = http://download.bittorrent.com/dl/archive/BitTorrent-5.2.2.tar.gz;
sha256 = "05k803hbwsyn51j4aibzdsnqxz24kw4rvr60v2c0wji8gcvy3kx9";
};
buildInputs = [ python pycrypto twisted makeWrapper ]
++ stdenv.lib.optional gui wxPython;
meta = {
description = "The original client for the BitTorrent peer-to-peer file sharing protocol";
};
}