mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 14:11:36 +00:00
f36d5c162c
This version is dubbed "unstable" and apparently it lacks the man page that used to come with earlier releases. :-( We need the latest version, though, because of the recent update to libtorrent.
29 lines
834 B
Nix
29 lines
834 B
Nix
{ stdenv, fetchurl, libtorrent, ncurses, pkgconfig, libsigcxx, curl
|
|
, zlib, openssl
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "rtorrent-0.9.3";
|
|
|
|
src = fetchurl {
|
|
url = "http://libtorrent.rakshasa.no/downloads/${name}.tar.gz";
|
|
sha256 = "043krhsiawigf8yjd5qfkdn5iqrssph1705dsx5fgbxipr0wm4wy";
|
|
};
|
|
|
|
buildInputs = [ libtorrent ncurses pkgconfig libsigcxx curl zlib openssl ];
|
|
|
|
# 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
|
|
# '';
|
|
|
|
meta = {
|
|
homepage = "http://libtorrent.rakshasa.no/";
|
|
description = "An ncurses client for libtorrent, ideal for use with screen or dtach";
|
|
|
|
platforms = stdenv.lib.platforms.unix;
|
|
maintainers = [ stdenv.lib.maintainers.simons ];
|
|
};
|
|
}
|