nzbhydra2: 3.14.2 -> 4.7.6

This commit is contained in:
Jamie Magee 2022-12-31 17:01:17 -08:00
parent ac949b8892
commit 8bed62821c
No known key found for this signature in database

View File

@ -1,16 +1,23 @@
{ lib, stdenv, fetchzip, makeWrapper, jre, python3, unzip }:
{
lib,
stdenv,
fetchzip,
makeWrapper,
jre,
python3,
unzip,
}:
stdenv.mkDerivation rec {
pname = "nzbhydra2";
version = "3.14.2";
version = "4.7.6";
src = fetchzip {
url = "https://github.com/theotherp/${pname}/releases/download/v${version}/${pname}-${version}-linux.zip";
sha512 = "sha512-wC2GhCjkRt/rmLAhe6nDCdF4PsfBpOo0T4BOSdw4wlBr7eCfo4Cibt9VvK6DNLuDk7EGkUfxvw9HI9sbRJlpCw==";
hash = "sha512-vc+VInEnh00bASxcEwSjJcsa0QJHmtRzSz30uW60wGmA24tlaJYSk42N5KpGFbkQkOkb2ijHmKGxPogSa4izRQ==";
stripRoot = false;
};
nativeBuildInputs = [ jre makeWrapper unzip ];
nativeBuildInputs = [jre makeWrapper unzip];
installPhase = ''
runHook preInstall
@ -30,7 +37,7 @@ stdenv.mkDerivation rec {
description = "Usenet meta search";
homepage = "https://github.com/theotherp/nzbhydra2";
license = licenses.asl20;
maintainers = with maintainers; [ jamiemagee ];
maintainers = with maintainers; [jamiemagee];
platforms = with platforms; linux;
};
}