summary refs log tree commit diff
path: root/pkgs/tools/networking/nzbget/default.nix
blob: 733e12d1e9b1ec739f0dc9d2247faf1e9bfac548 (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, pkgconfig, libxml2, ncurses, libsigcxx, libpar2
, gnutls, libgcrypt, zlib }:

stdenv.mkDerivation rec {
  name = "nzbget-${version}";
  version = "16.3";

  src = fetchurl {
    url = "http://github.com/nzbget/nzbget/releases/download/v${version}/${name}-src.tar.gz";
    sha256 = "03xzrvgqh90wx183sjrcyn7yilip92g2x5wffnw956ywxb3nsy2g";
  };

  buildInputs = [ pkgconfig libxml2 ncurses libsigcxx libpar2 gnutls
                  libgcrypt zlib ];

  enableParallelBuilding = true;

  meta = with stdenv.lib; {
    homepage = http://nzbget.net;
    license = licenses.gpl2Plus;
    description = "A command line tool for downloading files from news servers";
    maintainers = with maintainers; [ pSub ];
  };
}