2013-02-27 12:05:21 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, openssl, curl, intltool, libevent,
|
|
|
|
file, inotifyTools, gtk ? null }:
|
2010-05-20 14:39:16 +01:00
|
|
|
|
2010-03-28 00:06:30 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2013-02-27 12:05:21 +00:00
|
|
|
name = "transmission-2.60"; # transmission >= 2.61 requires gtk3
|
2012-06-18 16:18:45 +01:00
|
|
|
|
2010-03-28 00:06:30 +00:00
|
|
|
src = fetchurl {
|
2012-06-18 16:18:45 +01:00
|
|
|
url = "http://download.transmissionbt.com/files/${name}.tar.xz";
|
2013-02-27 12:05:21 +00:00
|
|
|
sha256 = "1ramdliyy8j7qqpkxg643lda11ynxwfhq6qcs31fr3h9x72l0rg4";
|
2010-03-28 00:06:30 +00:00
|
|
|
};
|
2012-06-18 16:18:45 +01:00
|
|
|
|
2013-02-27 12:05:21 +00:00
|
|
|
buildInputs = [ pkgconfig openssl curl intltool libevent
|
|
|
|
file inotifyTools gtk ];
|
2012-06-18 16:18:45 +01:00
|
|
|
|
2013-02-27 12:05:21 +00:00
|
|
|
preConfigure = ''
|
|
|
|
sed -i -e 's|/usr/bin/file|${file}/bin/file|g' configure
|
|
|
|
'';
|
2011-06-13 15:15:15 +01:00
|
|
|
|
|
|
|
postInstall = ''
|
2013-02-27 12:05:21 +00:00
|
|
|
rm -f $out/share/icons/hicolor/icon-theme.cache
|
2011-06-13 15:15:15 +01:00
|
|
|
'';
|
2012-06-18 16:18:45 +01:00
|
|
|
|
2010-03-28 00:06:30 +00:00
|
|
|
meta = {
|
2010-05-20 14:39:16 +01:00
|
|
|
description = "A fast, easy and free BitTorrent client";
|
2010-03-28 00:06:30 +00: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 14:39:16 +01:00
|
|
|
maintainers = [ stdenv.lib.maintainers.astsmtl ];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2010-03-28 00:06:30 +00:00
|
|
|
};
|
|
|
|
}
|