atlauncher: init at 3.4.20.2
This commit is contained in:
parent
0254963dec
commit
85aebac63d
42
pkgs/games/atlauncher/default.nix
Normal file
42
pkgs/games/atlauncher/default.nix
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
{ stdenv
|
||||||
|
, lib
|
||||||
|
, fetchurl
|
||||||
|
, makeWrapper
|
||||||
|
, jre
|
||||||
|
, udev
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "atlauncher";
|
||||||
|
version = "3.4.20.2";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://github.com/ATLauncher/ATLauncher/releases/download/v${version}/ATLauncher-${version}.jar";
|
||||||
|
hash = "sha256-YnCDs67BVhJ5rwY6jTbfgHKPbavtmcIMd16AWMBUDgk=";
|
||||||
|
};
|
||||||
|
|
||||||
|
dontUnpack = true;
|
||||||
|
|
||||||
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p $out/bin $out/share/java
|
||||||
|
cp $src $out/share/java/ATLauncher.jar
|
||||||
|
makeWrapper ${jre}/bin/java $out/bin/atlauncher \
|
||||||
|
--prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ udev ]}" \
|
||||||
|
--add-flags "-jar $out/share/java/ATLauncher.jar" \
|
||||||
|
--add-flags "--working-dir \''${XDG_DATA_HOME:-\$HOME/.local/share}/ATLauncher"
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Minecraft launcher";
|
||||||
|
longDescription = ''
|
||||||
|
ATLauncher is a Launcher for Minecraft which integrates multiple different
|
||||||
|
ModPacks to allow you to download and install ModPacks easily and quickly.
|
||||||
|
'';
|
||||||
|
sourceProvenance = with sourceTypes; [ binaryBytecode ];
|
||||||
|
license = licenses.gpl3Only;
|
||||||
|
platforms = platforms.all;
|
||||||
|
homepage = "https://atlauncher.com/";
|
||||||
|
};
|
||||||
|
}
|
@ -4,6 +4,8 @@ rec {
|
|||||||
# Alacritty with the unmerged ligature patches applied.
|
# Alacritty with the unmerged ligature patches applied.
|
||||||
alacritty-ligatures = pkgs.callPackage ../applications/terminal-emulators/alacritty-ligatures { };
|
alacritty-ligatures = pkgs.callPackage ../applications/terminal-emulators/alacritty-ligatures { };
|
||||||
|
|
||||||
|
atlauncher = pkgs.callPackage ../games/atlauncher { };
|
||||||
|
|
||||||
amdgpu-fan = pkgs.callPackage ../tools/misc/amdgpu-fan { };
|
amdgpu-fan = pkgs.callPackage ../tools/misc/amdgpu-fan { };
|
||||||
|
|
||||||
cardboard = pkgs.callPackage ../applications/window-managers/cardboard { };
|
cardboard = pkgs.callPackage ../applications/window-managers/cardboard { };
|
||||||
|
Loading…
Reference in New Issue
Block a user