2011-01-02 21:09:25 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, openssl, curl, intltool, libevent, gtkClient ? true, gtk }:
|
2010-05-20 15:39:16 +02:00
|
|
|
|
2010-03-28 01:06:30 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2011-06-13 16:15:15 +02:00
|
|
|
name = "transmission-2.31";
|
2010-05-20 15:39:16 +02:00
|
|
|
|
2010-03-28 01:06:30 +01:00
|
|
|
src = fetchurl {
|
2011-01-02 21:09:25 +01:00
|
|
|
url = "http://download.transmissionbt.com/files/${name}.tar.bz2";
|
2011-06-13 16:15:15 +02:00
|
|
|
sha256 = "0z0npasbrbii5qnjyk31v0kfr04kwm57dmnl2542bpx615q212zk";
|
2010-03-28 01:06:30 +01:00
|
|
|
};
|
2010-05-20 15:39:16 +02:00
|
|
|
|
2011-06-13 16:15:15 +02:00
|
|
|
buildInputs = [ pkgconfig openssl curl intltool libevent ] ++
|
|
|
|
stdenv.lib.optional gtkClient gtk;
|
2010-05-20 15:39:16 +02:00
|
|
|
|
2010-03-28 01:06:30 +01:00
|
|
|
configureFlags = if gtkClient then "--enable-gtk" else "--disable-gtk";
|
2011-06-13 16:15:15 +02:00
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
rm $out/share/icons/hicolor/icon-theme.cache
|
|
|
|
'';
|
2010-05-20 15:39:16 +02:00
|
|
|
|
2010-03-28 01:06:30 +01:00
|
|
|
meta = {
|
2010-05-20 15:39:16 +02:00
|
|
|
description = "A fast, easy and free BitTorrent client";
|
2010-03-28 01:06:30 +01:00
|
|
|
longDescription = ''
|
|
|
|
Transmission is a BitTorrent client which features a simple interface
|
|
|
|
on top of a cross-platform back-end.
|
|
|
|
Feature spotlight:
|
|
|
|
* Uses fewer resources than other clients
|
|
|
|
* Native Mac, GTK+ and Qt GUI clients
|
|
|
|
* Daemon ideal for servers, embedded systems, and headless use
|
|
|
|
* All these can be remote controlled by Web and Terminal clients
|
|
|
|
* Bluetack (PeerGuardian) blocklists with automatic updates
|
|
|
|
* Full encryption, DHT, and PEX support
|
|
|
|
'';
|
|
|
|
homepage = http://www.transmissionbt.com/;
|
|
|
|
license = [ "GPLv2" ];
|
2010-05-20 15:39:16 +02:00
|
|
|
maintainers = [ stdenv.lib.maintainers.astsmtl ];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2010-03-28 01:06:30 +01:00
|
|
|
};
|
|
|
|
}
|