2010-07-28 13:55:54 +02:00
|
|
|
{ stdenv, fetchurl, libtorrent, ncurses, pkgconfig, libsigcxx, curl
|
|
|
|
, zlib, openssl }:
|
|
|
|
|
2011-07-18 16:34:46 +02:00
|
|
|
let
|
|
|
|
version = "0.8.9";
|
|
|
|
in
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "rtorrent-${version}";
|
2008-02-23 13:11:27 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2011-07-18 16:34:46 +02:00
|
|
|
url = "http://libtorrent.rakshasa.no/downloads/rtorrent-${version}.tar.gz";
|
|
|
|
sha256 = "cca70eb36a0c176bbd6fdb3afe2bc9f163fa4c9377fc33bc29689dec60cf6d84";
|
2008-02-23 13:11:27 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ libtorrent ncurses pkgconfig libsigcxx curl zlib openssl ];
|
2011-07-18 16:34:46 +02:00
|
|
|
|
2011-12-06 21:44:31 +01:00
|
|
|
postInstall = ''
|
2012-01-18 21:16:00 +01:00
|
|
|
mkdir -p $out/share/man/man1
|
2011-12-06 21:44:31 +01:00
|
|
|
mv doc/rtorrent.1 $out/share/man/man1/rtorrent.1
|
|
|
|
'';
|
2011-09-24 14:46:24 +02:00
|
|
|
|
2008-02-23 13:11:27 +01:00
|
|
|
meta = {
|
2011-07-18 16:34:46 +02:00
|
|
|
homepage = "http://libtorrent.rakshasa.no/";
|
2009-03-03 14:27:40 +01:00
|
|
|
description = "An ncurses client for libtorrent, ideal for use with screen or dtach";
|
2011-07-18 16:34:46 +02:00
|
|
|
|
|
|
|
platforms = stdenv.lib.platforms.unix;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.simons ];
|
2008-02-23 13:11:27 +01:00
|
|
|
};
|
2010-07-28 13:55:54 +02:00
|
|
|
}
|