mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 20:39:04 +02:00
Merge pull request #152934 from TerrorJack/HentaiAtHome
This commit is contained in:
commit
937e2ba031
|
@ -11634,6 +11634,12 @@
|
||||||
githubId = 280235;
|
githubId = 280235;
|
||||||
name = "Terje Larsen";
|
name = "Terje Larsen";
|
||||||
};
|
};
|
||||||
|
terrorjack = {
|
||||||
|
email = "astrohavoc@gmail.com";
|
||||||
|
github = "TerrorJack";
|
||||||
|
githubId = 3889585;
|
||||||
|
name = "Cheng Shao";
|
||||||
|
};
|
||||||
tesq0 = {
|
tesq0 = {
|
||||||
email = "mikolaj.galkowski@gmail.com";
|
email = "mikolaj.galkowski@gmail.com";
|
||||||
github = "tesq0";
|
github = "tesq0";
|
||||||
|
|
37
pkgs/applications/misc/HentaiAtHome/default.nix
Normal file
37
pkgs/applications/misc/HentaiAtHome/default.nix
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
{ buildGraalvmNativeImage, fetchzip, graalvm17-ce, lib }:
|
||||||
|
|
||||||
|
buildGraalvmNativeImage rec {
|
||||||
|
pname = "HentaiAtHome";
|
||||||
|
version = "1.6.1";
|
||||||
|
src = fetchzip {
|
||||||
|
url = "https://repo.e-hentai.org/hath/HentaiAtHome_${version}.zip";
|
||||||
|
hash =
|
||||||
|
"sha512-nGGCuVovj4NJGrihKKYXnh0Ic9YD36o7r6wv9zSivZn22zm8lBYVXP85LnOw2z9DiJARivOctQGl48YFD7vxOQ==";
|
||||||
|
stripRoot = false;
|
||||||
|
};
|
||||||
|
|
||||||
|
jar = "${src}/HentaiAtHome.jar";
|
||||||
|
dontUnpack = true;
|
||||||
|
|
||||||
|
graalvm = graalvm17-ce;
|
||||||
|
extraNativeImageBuildArgs = [
|
||||||
|
"--enable-url-protocols=http,https"
|
||||||
|
"--install-exit-handlers"
|
||||||
|
"--no-fallback"
|
||||||
|
];
|
||||||
|
|
||||||
|
doInstallCheck = true;
|
||||||
|
installCheckPhase = ''
|
||||||
|
pushd $(mktemp -d)
|
||||||
|
$out/bin/HentaiAtHome
|
||||||
|
popd
|
||||||
|
'';
|
||||||
|
|
||||||
|
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";
|
||||||
|
license = licenses.gpl3;
|
||||||
|
maintainers = with maintainers; [ terrorjack ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -32714,6 +32714,8 @@ with pkgs;
|
||||||
|
|
||||||
velero = callPackage ../applications/networking/cluster/velero { };
|
velero = callPackage ../applications/networking/cluster/velero { };
|
||||||
|
|
||||||
|
HentaiAtHome = callPackage ../applications/misc/HentaiAtHome { };
|
||||||
|
|
||||||
hplip = callPackage ../misc/drivers/hplip { };
|
hplip = callPackage ../misc/drivers/hplip { };
|
||||||
|
|
||||||
hplipWithPlugin = hplip.override { withPlugin = true; };
|
hplipWithPlugin = hplip.override { withPlugin = true; };
|
||||||
|
|
Loading…
Reference in a new issue