2011-04-19 22:35:24 +02:00
|
|
|
{ stdenv, fetchurl, pkgconfig, libxml2, ncurses, libsigcxx, libpar2
|
2015-05-29 19:07:20 +02:00
|
|
|
, gnutls, libgcrypt, zlib }:
|
2011-04-19 22:35:24 +02:00
|
|
|
|
2015-07-20 09:56:02 +02:00
|
|
|
let
|
|
|
|
version = "15.0";
|
|
|
|
in
|
2011-04-19 22:35:24 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2015-07-20 09:56:02 +02:00
|
|
|
name = "nzbget-${version}";
|
2011-04-19 22:35:24 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2015-07-20 09:56:02 +02:00
|
|
|
url = "http://github.com/nzbget/nzbget/releases/download/v${version}/${name}-src.tar.gz";
|
2015-05-29 19:07:20 +02:00
|
|
|
sha256 = "02nclq97gqr4zwww4j1l9sds2rwrwwvwvh2gkjhwvr0pb4z3zw9y";
|
2011-04-19 22:35:24 +02:00
|
|
|
};
|
|
|
|
|
2015-05-29 19:07:20 +02:00
|
|
|
buildInputs = [ pkgconfig libxml2 ncurses libsigcxx libpar2 gnutls
|
|
|
|
libgcrypt zlib ];
|
2011-04-19 22:35:24 +02:00
|
|
|
|
2013-01-06 22:29:16 +01:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2014-11-19 08:44:54 +01:00
|
|
|
meta = with stdenv.lib; {
|
2015-07-20 09:56:02 +02:00
|
|
|
homepage = http://nzbget.net;
|
2014-11-19 08:44:54 +01:00
|
|
|
license = licenses.gpl2Plus;
|
2011-04-19 22:35:24 +02:00
|
|
|
description = "A command line tool for downloading files from news servers";
|
2014-11-19 08:44:54 +01:00
|
|
|
maintainers = with maintainers; [ pSub ];
|
2011-04-19 22:35:24 +02:00
|
|
|
};
|
|
|
|
}
|