2011-04-19 21:35:24 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, libxml2, ncurses, libsigcxx, libpar2
|
2016-05-04 09:58:01 +01:00
|
|
|
, gnutls, libgcrypt, zlib, openssl }:
|
2011-04-19 21:35:24 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2015-07-20 08:56:02 +01:00
|
|
|
name = "nzbget-${version}";
|
2018-06-09 20:21:52 +01:00
|
|
|
version = "20.0";
|
2011-04-19 21:35:24 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2016-12-05 20:09:48 +00:00
|
|
|
url = "http://github.com/nzbget/nzbget/releases/download/v${version}/nzbget-${version}-src.tar.gz";
|
2018-06-09 20:21:52 +01:00
|
|
|
sha256 = "0vyhmjg3ipjlv41il6kklys3m6rhqifdkv25a7ak772l6ba3dp04";
|
2011-04-19 21:35:24 +01:00
|
|
|
};
|
|
|
|
|
2017-05-01 11:02:44 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
|
|
|
|
buildInputs = [ libxml2 ncurses libsigcxx libpar2 gnutls
|
2016-05-04 09:58:01 +01:00
|
|
|
libgcrypt zlib openssl ];
|
2011-04-19 21:35:24 +01:00
|
|
|
|
2013-01-06 21:29:16 +00:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2014-11-19 07:44:54 +00:00
|
|
|
meta = with stdenv.lib; {
|
2015-07-20 08:56:02 +01:00
|
|
|
homepage = http://nzbget.net;
|
2014-11-19 07:44:54 +00:00
|
|
|
license = licenses.gpl2Plus;
|
2011-04-19 21:35:24 +01: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 18:50:55 +01:00
|
|
|
platforms = with platforms; unix;
|
2011-04-19 21:35:24 +01:00
|
|
|
};
|
|
|
|
}
|