2011-04-19 22:35:24 +02:00
|
|
|
{ stdenv, fetchurl, pkgconfig, libxml2, ncurses, libsigcxx, libpar2
|
|
|
|
, gnutls, libgcrypt }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2012-05-13 01:11:18 +02:00
|
|
|
name = "nzbget-0.8.0";
|
2011-04-19 22:35:24 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/nzbget/${name}.tar.gz";
|
2012-05-13 01:11:18 +02:00
|
|
|
sha256 = "15bxsxdbkml9cqpy6zxgv78ff69l8qrv8r201gmzvylpc1ckjsb4";
|
2011-04-19 22:35:24 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
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";
|
|
|
|
};
|
|
|
|
}
|