Merge pull request #297080 from devusb/nzbget

nzbget: 21.4-rc2 -> 23.0
This commit is contained in:
Pascal Wittmann 2024-03-20 13:04:10 +01:00 committed by GitHub
commit fd860b6f2e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2,6 +2,7 @@
, stdenv
, fetchFromGitHub
, autoreconfHook
, boost
, pkg-config
, gnutls
, libgcrypt
@ -17,18 +18,19 @@
stdenv.mkDerivation (finalAttrs: {
pname = "nzbget-ng";
version = "21.4-rc2";
version = "23.0";
src = fetchFromGitHub {
owner = "nzbget-ng";
owner = "nzbgetcom";
repo = "nzbget";
rev = "v${finalAttrs.version}";
hash = "sha256-JJML5mtAog5xC7DkthCtoyn5QeC2Z+fdzSuEa/Te0Ew=";
hash = "sha256-JqC82zpsIqRYB7128gTSOQMWJFR/t63NJXlPgGqP0jE=";
};
nativeBuildInputs = [ autoreconfHook pkg-config ];
buildInputs = [
boost
gnutls
libgcrypt
libpar2
@ -49,11 +51,11 @@ stdenv.mkDerivation (finalAttrs: {
passthru.tests = { inherit (nixosTests) nzbget; };
meta = with lib; {
homepage = "https://nzbget-ng.github.io/";
changelog = "https://github.com/nzbget-ng/nzbget/releases/tag/v${finalAttrs.version}";
homepage = "https://nzbget.com/";
changelog = "https://github.com/nzbgetcom/nzbget/releases/tag/v${finalAttrs.version}";
license = licenses.gpl2Plus;
description = "A command line tool for downloading files from news servers";
maintainers = with maintainers; [ pSub ];
maintainers = with maintainers; [ pSub devusb ];
platforms = with platforms; unix;
mainProgram = "nzbget";
};