hentai-at-home: add meta.platforms, fix meta.description & refactor
This commit is contained in:
@@ -1,19 +1,19 @@
|
||||
{
|
||||
buildPackages,
|
||||
fetchzip,
|
||||
javaOpts ? "-XX:+UseZGC",
|
||||
jdk,
|
||||
jre_headless,
|
||||
lib,
|
||||
makeWrapper,
|
||||
stdenvNoCC,
|
||||
fetchzip,
|
||||
jdk,
|
||||
makeWrapper,
|
||||
buildPackages,
|
||||
jre_headless,
|
||||
javaOpts ? "-XX:+UseZGC",
|
||||
}:
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
pname = "hentai-at-home";
|
||||
version = "1.6.3";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://repo.e-hentai.org/hath/HentaiAtHome_${version}_src.zip";
|
||||
url = "https://repo.e-hentai.org/hath/HentaiAtHome_${finalAttrs.version}_src.zip";
|
||||
hash = "sha512-kBB5mn9MwpkZ0z+Fl5ABs4YWBkXkMRcADYSAPkeifyhbYQQPOnijXKYZCkzE4UB3uQ1j6Kj6WnpO/4jquYEiOQ==";
|
||||
stripRoot = false;
|
||||
};
|
||||
@@ -52,9 +52,10 @@ stdenvNoCC.mkDerivation rec {
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://ehwiki.org/wiki/Hentai@Home";
|
||||
description = "Hentai@Home is an open-source P2P gallery distribution system which reduces the load on the E-Hentai Galleries";
|
||||
description = "Open-source P2P gallery distribution system which reduces the load on the E-Hentai Galleries";
|
||||
license = licenses.gpl3;
|
||||
maintainers = with maintainers; [ terrorjack ];
|
||||
mainProgram = "HentaiAtHome";
|
||||
platforms = jdk.meta.platforms;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user