2006-12-13 21:30:09 +01:00
|
|
|
{ gui ? false
|
|
|
|
, stdenv, fetchurl, makeWrapper
|
|
|
|
, python, wxPython ? null, pycrypto, twisted
|
|
|
|
}:
|
|
|
|
|
|
|
|
assert gui -> wxPython != null;
|
2004-02-17 21:03:12 +01:00
|
|
|
|
2004-03-29 19:23:01 +02:00
|
|
|
stdenv.mkDerivation {
|
2010-05-19 16:42:52 +02:00
|
|
|
name = "bittorrent-5.2.2";
|
2008-06-17 16:19:59 +02:00
|
|
|
|
2004-02-17 21:03:12 +01:00
|
|
|
builder = ./builder.sh;
|
2006-12-13 21:30:09 +01:00
|
|
|
|
2004-02-17 21:03:12 +01:00
|
|
|
src = fetchurl {
|
2010-05-19 16:42:52 +02:00
|
|
|
url = http://download.bittorrent.com/dl/archive/BitTorrent-5.2.2.tar.gz;
|
|
|
|
sha256 = "05k803hbwsyn51j4aibzdsnqxz24kw4rvr60v2c0wji8gcvy3kx9";
|
2004-02-17 21:03:12 +01:00
|
|
|
};
|
2006-12-13 21:30:09 +01:00
|
|
|
|
2010-05-19 16:42:52 +02:00
|
|
|
buildInputs = [ python pycrypto twisted makeWrapper ]
|
2008-01-18 12:28:41 +01:00
|
|
|
++ stdenv.lib.optional gui wxPython;
|
2006-10-11 18:45:55 +02:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "The original client for the BitTorrent peer-to-peer file sharing protocol";
|
|
|
|
};
|
2004-02-17 21:03:12 +01:00
|
|
|
}
|