Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
48 lines
1.0 KiB
Nix
48 lines
1.0 KiB
Nix
{
|
|
lib,
|
|
stdenvNoCC,
|
|
fetchzip,
|
|
icu,
|
|
autoPatchelfHook,
|
|
}:
|
|
|
|
let
|
|
pname = "everest";
|
|
version = "5806";
|
|
phome = "$out/lib/Celeste";
|
|
in
|
|
stdenvNoCC.mkDerivation {
|
|
inherit pname version;
|
|
src = fetchzip {
|
|
url = "https://github.com/EverestAPI/Everest/releases/download/stable-1.5806.0/main.zip";
|
|
extension = "zip";
|
|
hash = "sha256-Hw/BNvWfhdO7bvYrY/Px12BRG1SYcCBeAXBH4QnKyeY=";
|
|
};
|
|
buildInputs = [
|
|
icu
|
|
];
|
|
nativeBuildInputs = [
|
|
autoPatchelfHook
|
|
];
|
|
postInstall = ''
|
|
mkdir -p ${phome}
|
|
cp -r * ${phome}
|
|
'';
|
|
dontAutoPatchelf = true;
|
|
dontPatchELF = true;
|
|
dontStrip = true;
|
|
dontPatchShebangs = true;
|
|
postFixup = ''
|
|
autoPatchelf ${phome}/MiniInstaller-linux
|
|
'';
|
|
meta = {
|
|
description = "Celeste mod loader";
|
|
license = with lib.licenses; [ mit ];
|
|
maintainers = with lib.maintainers; [ ulysseszhan ];
|
|
homepage = "https://everestapi.github.io";
|
|
platforms = [ "x86_64-linux" ];
|
|
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
|
|
};
|
|
|
|
}
|