Merge pull request #274756 from GetPsyched/atlauncher

This commit is contained in:
Sandro 2024-01-17 15:30:02 +01:00 committed by GitHub
commit 6f8d6d3596
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 5 deletions

View file

@ -2,11 +2,11 @@
stdenv.mkDerivation (finalAttrs: {
pname = "atlauncher";
version = "3.4.35.3";
version = "3.4.35.4";
src = fetchurl {
url = "https://github.com/ATLauncher/ATLauncher/releases/download/v${finalAttrs.version}/ATLauncher-${finalAttrs.version}.jar";
hash = "sha256-2080rVGBBM3YZmmBVBfMhnCErLzxuRDDi4zmCniJYFY=";
hash = "sha256-M8ygN70yizJM6VEffBh/lH/DneKAzQ5UFzc3g51dja0=";
};
env.ICON = fetchurl {
@ -25,7 +25,7 @@ stdenv.mkDerivation (finalAttrs: {
mkdir -p $out/bin $out/share/java
cp $src $out/share/java/ATLauncher.jar
makeWrapper ${jre}/bin/java $out/bin/${finalAttrs.pname} \
makeWrapper ${jre}/bin/java $out/bin/atlauncher \
--prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ xorg.libXxf86vm udev ]}" \
--add-flags "-jar $out/share/java/ATLauncher.jar" \
--add-flags "--working-dir \"\''${XDG_DATA_HOME:-\$HOME/.local/share}/ATLauncher\"" \
@ -55,5 +55,6 @@ stdenv.mkDerivation (finalAttrs: {
maintainers = [ maintainers.getpsyched ];
platforms = platforms.all;
mainProgram = "atlauncher";
sourceProvenance = [ sourceTypes.binaryBytecode ];
};
})

View file

@ -37229,8 +37229,6 @@ with pkgs;
antsimulator = callPackage ../games/antsimulator { };
atlauncher = callPackage ../games/atlauncher { };
augustus = callPackage ../games/augustus { };
ballerburg = callPackage ../games/ballerburg { } ;