Files
Dark Steveneq 646b892680
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
push sheeet
2025-10-09 14:15:47 +02:00

39 lines
1.3 KiB
Nix

{
lib,
fetchurl,
appimageTools,
}:
let
pname = "labymod-launcher";
version = "2.1.12";
src = fetchurl {
name = "labymod-launcher";
url = "https://releases.r2.labymod.net/launcher/linux/x64/LabyMod%20Launcher-${version}.AppImage";
hash = "sha256-n0ipNxtmVSG/Do5UcFpWhGH+4SO3ZljsUXPW4hYzkZU=";
};
appimageContents = appimageTools.extract { inherit pname version src; };
in
appimageTools.wrapType2 {
inherit pname version src;
extraInstallCommands = ''
install -Dm444 ${appimageContents}/labymodlauncher.desktop $out/share/applications/labymod-launcher.desktop
install -Dm444 ${appimageContents}/resources/icons/icon.png $out/share/pixmaps/labymod-launcher.png
substituteInPlace $out/share/applications/labymod-launcher.desktop \
--replace-fail 'Exec=labymodlauncher' 'Exec=labymod-launcher' \
--replace-fail 'Icon=labymodlauncher' 'Icon=labymod-launcher'
'';
meta = {
description = "Minecraft modification that enhances gameplay with features like in-game TeamSpeak integration, custom animations, and additional settings";
homepage = "https://www.labymod.net/";
license = lib.licenses.unfree;
maintainers = with lib.maintainers; [ httprafa ];
mainProgram = "labymod-launcher";
platforms = [ "x86_64-linux" ];
};
}