2011-04-19 20:35:24 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, libxml2, ncurses, libsigcxx, libpar2
|
2016-05-04 08:58:01 +00:00
|
|
|
, gnutls, libgcrypt, zlib, openssl }:
|
2011-04-19 20:35:24 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "nzbget";
|
2019-05-05 17:25:57 +00:00
|
|
|
version = "21.0";
|
2011-04-19 20:35:24 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-04-22 08:14:28 +00:00
|
|
|
url = "https://github.com/nzbget/nzbget/releases/download/v${version}/nzbget-${version}-src.tar.gz";
|
2019-05-05 17:25:57 +00:00
|
|
|
sha256 = "0lwd0pfrs4a5ms193hgz2qiyf7grrc925dw6y0nfc0gkp27db9b5";
|
2011-04-19 20:35:24 +00:00
|
|
|
};
|
|
|
|
|
2017-05-01 10:02:44 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
|
|
|
|
buildInputs = [ libxml2 ncurses libsigcxx libpar2 gnutls
|
2016-05-04 08:58:01 +00:00
|
|
|
libgcrypt zlib openssl ];
|
2011-04-19 20:35:24 +00:00
|
|
|
|
2013-01-06 21:29:16 +00:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2014-11-19 07:44:54 +00:00
|
|
|
meta = with stdenv.lib; {
|
2019-04-14 23:25:45 +00:00
|
|
|
homepage = https://nzbget.net;
|
2014-11-19 07:44:54 +00:00
|
|
|
license = licenses.gpl2Plus;
|
2011-04-19 20:35:24 +00:00
|
|
|
description = "A command line tool for downloading files from news servers";
|
2014-11-19 07:44:54 +00:00
|
|
|
maintainers = with maintainers; [ pSub ];
|
2016-08-02 17:50:55 +00:00
|
|
|
platforms = with platforms; unix;
|
2011-04-19 20:35:24 +00:00
|
|
|
};
|
|
|
|
}
|