summary refs log tree commit diff
path: root/pkgs/tools/networking/p2p/rtorrent/default.nix
blob: b45542a6358df32f6a228b666932a98b5fd4d53f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ stdenv, fetchurl, libtorrent, ncurses, pkgconfig, libsigcxx, curl
, zlib, openssl }:

let
  version = "0.8.9";
in
stdenv.mkDerivation {
  name = "rtorrent-${version}";

  src = fetchurl {
    url = "http://libtorrent.rakshasa.no/downloads/rtorrent-${version}.tar.gz";
    sha256 = "cca70eb36a0c176bbd6fdb3afe2bc9f163fa4c9377fc33bc29689dec60cf6d84";
  };

  buildInputs = [ libtorrent ncurses pkgconfig libsigcxx curl zlib openssl ];

  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 ];
  };
}