Skip to content

Commit b9ada94

Browse files
authored
Merge pull request #325062 from matteo-pacini/nzbhydra2
nzbhydra2: 4.7.6 -> 7.2.3, add maintainer
2 parents fd36f66 + 146fa6b commit b9ada94

File tree

3 files changed

+12
-10
lines changed

3 files changed

+12
-10
lines changed

nixos/tests/nzbhydra2.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import ./make-test-python.nix ({ lib, ... }:
22
{
33
name = "nzbhydra2";
4-
meta.maintainers = with lib.maintainers; [ jamiemagee ];
4+
meta.maintainers = with lib.maintainers; [ matteopacini ];
55

66
nodes.machine = { pkgs, ... }: { services.nzbhydra2.enable = true; };
77

pkgs/servers/nzbhydra2/default.nix

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,19 @@
99
}:
1010
stdenv.mkDerivation rec {
1111
pname = "nzbhydra2";
12-
version = "4.7.6";
12+
version = "7.2.3";
1313

1414
src = fetchzip {
15-
url = "https://github.com/theotherp/${pname}/releases/download/v${version}/${pname}-${version}-linux.zip";
16-
hash = "sha512-vc+VInEnh00bASxcEwSjJcsa0QJHmtRzSz30uW60wGmA24tlaJYSk42N5KpGFbkQkOkb2ijHmKGxPogSa4izRQ==";
15+
url = "https://github.com/theotherp/${pname}/releases/download/v${version}/${pname}-${version}-generic.zip";
16+
hash = "sha256-gGTEOqqnVSgsKvEjd6b5aG8EM2M8u0FdpIebYNQFP50=";
1717
stripRoot = false;
1818
};
1919

20-
nativeBuildInputs = [jre makeWrapper unzip];
20+
nativeBuildInputs = [
21+
jre
22+
makeWrapper
23+
unzip
24+
];
2125

2226
installPhase = ''
2327
runHook preInstall
@@ -37,7 +41,7 @@ stdenv.mkDerivation rec {
3741
description = "Usenet meta search";
3842
homepage = "https://github.com/theotherp/nzbhydra2";
3943
license = licenses.asl20;
40-
maintainers = with maintainers; [jamiemagee];
44+
maintainers = with maintainers; [ matteopacini ];
4145
platforms = with platforms; linux;
4246
mainProgram = "nzbhydra2";
4347
};

pkgs/top-level/all-packages.nix

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11047,10 +11047,8 @@ with pkgs;
1104711047
nzbget = callPackage ../tools/networking/nzbget { };
1104811048

1104911049
nzbhydra2 = callPackage ../servers/nzbhydra2 {
11050-
# You need Java (at least 8, at most 15)
11051-
# https://github.com/theotherp/nzbhydra2/issues/697
11052-
# https://github.com/theotherp/nzbhydra2/#how-to-run
11053-
jre = openjdk11;
11050+
# Requires Java 17, not lower, not higher
11051+
jre = openjdk17;
1105411052
};
1105511053

1105611054
oapi-codegen = callPackage ../tools/networking/oapi-codegen { };

0 commit comments

Comments
 (0)