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

stdenv.mkDerivation rec {
  name = "nzbget-0.8.0";

  src = fetchurl {
    url = "mirror://sourceforge/nzbget/${name}.tar.gz";
    sha256 = "15bxsxdbkml9cqpy6zxgv78ff69l8qrv8r201gmzvylpc1ckjsb4";
  };

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

  postInstall =
    ''
      mkdir -p $out/etc
      cp nzbget.conf.example $out/etc/
    '';

  meta = {
    homepage = http://nzbget.sourceforge.net/;
    license = "GPLv2+";
    description = "A command line tool for downloading files from news servers";
  };
}