mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 17:46:29 +09:00
labymod-launcher: init at 2.1.10 (#387346)
This commit is contained in:
commit
12eb308237
2 changed files with 44 additions and 0 deletions
|
@ -9757,6 +9757,12 @@
|
|||
githubId = 39689;
|
||||
name = "Hugo Tavares Reis";
|
||||
};
|
||||
httprafa = {
|
||||
email = "rafael.kienitz@gmail.com";
|
||||
github = "HttpRafa";
|
||||
githubId = 60099368;
|
||||
name = "Rafael Kienitz";
|
||||
};
|
||||
huantian = {
|
||||
name = "David Li";
|
||||
email = "davidtianli@gmail.com";
|
||||
|
|
38
pkgs/by-name/la/labymod-launcher/package.nix
Normal file
38
pkgs/by-name/la/labymod-launcher/package.nix
Normal file
|
@ -0,0 +1,38 @@
|
|||
{
|
||||
lib,
|
||||
fetchurl,
|
||||
appimageTools,
|
||||
}:
|
||||
|
||||
let
|
||||
pname = "labymod-launcher";
|
||||
version = "2.1.10";
|
||||
|
||||
src = fetchurl {
|
||||
name = "labymod-launcher";
|
||||
url = "https://releases.r2.labymod.net/launcher/linux/x64/LabyMod%20Launcher-${version}.AppImage";
|
||||
hash = "sha256-yRzk1bish/KBe15rnnbaft3358zSv7WaejdvXAdpEC4=";
|
||||
};
|
||||
|
||||
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" ];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue