rtorrent: update to version 0.9.3

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.
This commit is contained in:
Peter Simons 2013-12-09 22:11:30 +01:00
parent 5acb97b972
commit f36d5c162c

View File

@ -1,24 +1,22 @@
{ stdenv, fetchurl, libtorrent, ncurses, pkgconfig, libsigcxx, curl
, zlib, openssl }:
, zlib, openssl
}:
let
version = "0.9.2";
in
stdenv.mkDerivation {
name = "rtorrent-${version}";
stdenv.mkDerivation rec {
name = "rtorrent-0.9.3";
src = fetchurl {
url = "http://libtorrent.rakshasa.no/downloads/rtorrent-${version}.tar.gz";
sha256 = "5c8f8c780bee376afce3c1cde2f5ecb928f40bac23b2b8171deed5cf3c888c3d";
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
'';
# 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/";