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