2daeebaaec
svn path=/nixpkgs/trunk/; revision=27433
38 lines
1.3 KiB
Nix
38 lines
1.3 KiB
Nix
{ stdenv, fetchurl, pkgconfig, openssl, curl, intltool, libevent, gtkClient ? true, gtk }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "transmission-2.31";
|
|
|
|
src = fetchurl {
|
|
url = "http://download.transmissionbt.com/files/${name}.tar.bz2";
|
|
sha256 = "0z0npasbrbii5qnjyk31v0kfr04kwm57dmnl2542bpx615q212zk";
|
|
};
|
|
|
|
buildInputs = [ pkgconfig openssl curl intltool libevent ] ++
|
|
stdenv.lib.optional gtkClient gtk;
|
|
|
|
configureFlags = if gtkClient then "--enable-gtk" else "--disable-gtk";
|
|
|
|
postInstall = ''
|
|
rm $out/share/icons/hicolor/icon-theme.cache
|
|
'';
|
|
|
|
meta = {
|
|
description = "A fast, easy and free BitTorrent client";
|
|
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" ];
|
|
maintainers = [ stdenv.lib.maintainers.astsmtl ];
|
|
platforms = stdenv.lib.platforms.linux;
|
|
};
|
|
}
|