2010-07-28 11:55:54 +00:00
|
|
|
{ stdenv, fetchurl, libtorrent, ncurses, pkgconfig, libsigcxx, curl
|
2014-08-14 21:06:59 +00:00
|
|
|
, zlib, openssl, xmlrpc_c
|
2013-12-09 21:11:30 +00:00
|
|
|
}:
|
2010-07-28 11:55:54 +00:00
|
|
|
|
2013-12-09 21:11:30 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2015-09-14 18:48:12 +00:00
|
|
|
name = "rtorrent-${version}";
|
|
|
|
version = "0.9.6";
|
2008-02-23 12:11:27 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2015-09-14 18:48:12 +00:00
|
|
|
url = "http://rtorrent.net/downloads/${name}.tar.gz";
|
|
|
|
sha256 = "03jvzw9pi2mhcm913h8qg0qw9gwjqc6lhwynb1yz1y163x7w4s8y";
|
2008-02-23 12:11:27 +00:00
|
|
|
};
|
|
|
|
|
2014-08-14 21:06:59 +00:00
|
|
|
buildInputs = [ libtorrent ncurses pkgconfig libsigcxx curl zlib openssl xmlrpc_c ];
|
2015-12-04 16:17:22 +00:00
|
|
|
configureFlags = [ "--with-xmlrpc-c" "--with-posix-fallocate" ];
|
2011-07-18 14:34:46 +00:00
|
|
|
|
2013-12-09 21:11:30 +00:00
|
|
|
# postInstall = ''
|
|
|
|
# mkdir -p $out/share/man/man1 $out/share/rtorrent
|
|
|
|
# mv doc/rtorrent.1 $out/share/man/man1/rtorrent.1
|
|
|
|
# mv doc/rtorrent.rc $out/share/rtorrent/rtorrent.rc
|
|
|
|
# '';
|
2011-09-24 12:46:24 +00:00
|
|
|
|
2015-09-14 18:48:12 +00:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://github.com/rakshasa/rtorrent/;
|
|
|
|
description = "An ncurses client for libtorrent, ideal for use with screen, tmux, or dtach";
|
2011-07-18 14:34:46 +00:00
|
|
|
|
2015-09-14 18:48:12 +00:00
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with maintainers; [ simons ebzzry ];
|
2008-02-23 12:11:27 +00:00
|
|
|
};
|
2010-07-28 11:55:54 +00:00
|
|
|
}
|