mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 19:15:39 +00:00
bac4d95aa2
Lots of URLs were HTTP redirect to HTTPS. Changed those and checked them if there's actual content. Inspired by https://github.com/NixOS/nixpkgs/issues/60004
28 lines
827 B
Nix
28 lines
827 B
Nix
{ stdenv, fetchurl, pkgconfig, libxml2, ncurses, libsigcxx, libpar2
|
|
, gnutls, libgcrypt, zlib, openssl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "nzbget-${version}";
|
|
version = "20.0";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/nzbget/nzbget/releases/download/v${version}/nzbget-${version}-src.tar.gz";
|
|
sha256 = "0vyhmjg3ipjlv41il6kklys3m6rhqifdkv25a7ak772l6ba3dp04";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ libxml2 ncurses libsigcxx libpar2 gnutls
|
|
libgcrypt zlib openssl ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = https://nzbget.net;
|
|
license = licenses.gpl2Plus;
|
|
description = "A command line tool for downloading files from news servers";
|
|
maintainers = with maintainers; [ pSub ];
|
|
platforms = with platforms; unix;
|
|
};
|
|
}
|