Merge pull request #320278 from quantenzitrone/hentai
HentaiAtHome: rename to hentai-at-home
This commit is contained in:
+22
-18
@@ -1,28 +1,32 @@
|
||||
{ buildPackages
|
||||
, fetchzip
|
||||
, javaOpts ? "-XX:+UseZGC"
|
||||
, jdk
|
||||
, jre_headless
|
||||
, lib
|
||||
, makeWrapper
|
||||
, stdenvNoCC
|
||||
,
|
||||
{
|
||||
lib,
|
||||
stdenvNoCC,
|
||||
fetchzip,
|
||||
jdk,
|
||||
makeWrapper,
|
||||
buildPackages,
|
||||
jre_headless,
|
||||
javaOpts ? "-XX:+UseZGC",
|
||||
}:
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "HentaiAtHome";
|
||||
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;
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ jdk makeWrapper ];
|
||||
nativeBuildInputs = [
|
||||
jdk
|
||||
makeWrapper
|
||||
];
|
||||
|
||||
LANG = "en_US.UTF-8";
|
||||
LOCALE_ARCHIVE = lib.optionalString (stdenvNoCC.buildPlatform.libc == "glibc")
|
||||
"${buildPackages.glibcLocales}/lib/locale/locale-archive";
|
||||
LOCALE_ARCHIVE = lib.optionalString (
|
||||
stdenvNoCC.buildPlatform.libc == "glibc"
|
||||
) "${buildPackages.glibcLocales}/lib/locale/locale-archive";
|
||||
|
||||
buildPhase = ''
|
||||
make all
|
||||
@@ -48,10 +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;
|
||||
};
|
||||
}
|
||||
})
|
||||
@@ -546,6 +546,7 @@ mapAliases ({
|
||||
|
||||
haxe_3_2 = throw "'haxe_3_2' has been removed because it is old and no longer used by any packages in nixpkgs"; # Added 2023-03-15
|
||||
haxe_3_4 = throw "'haxe_3_4' has been removed because it is old and no longer used by any packages in nixpkgs"; # Added 2023-03-15
|
||||
HentaiAtHome = hentai-at-home; # Added 2024-06-12
|
||||
hepmc = throw "'hepmc' has been renamed to/replaced by 'hepmc2'"; # Converted to throw 2023-09-10
|
||||
hikari = throw "hikari has been removed from nixpkgs, it was unmaintained and required wlroots_0_15 at the time of removal"; # Added 2024-03-28
|
||||
hip = throw "'hip' has been removed in favor of 'rocmPackages.clr'"; # Added 2023-10-08
|
||||
|
||||
@@ -39228,8 +39228,6 @@ with pkgs;
|
||||
|
||||
velero = callPackage ../applications/networking/cluster/velero { };
|
||||
|
||||
HentaiAtHome = callPackage ../applications/misc/HentaiAtHome { };
|
||||
|
||||
hplip = callPackage ../misc/drivers/hplip { };
|
||||
|
||||
hplipWithPlugin = hplip.override { withPlugin = true; };
|
||||
|
||||
Reference in New Issue
Block a user