Merge pull request #283912 from r-ryantm/auto-update/unciv
unciv: 4.9.19 -> 4.10.4
This commit is contained in:
commit
5f22982197
1 changed files with 5 additions and 5 deletions
|
@ -18,20 +18,20 @@ let
|
|||
categories = [ "Game" ];
|
||||
};
|
||||
|
||||
envLibPath = lib.makeLibraryPath [
|
||||
envLibPath = lib.makeLibraryPath (lib.optionals stdenv.isLinux [
|
||||
libGL
|
||||
libpulseaudio
|
||||
libXxf86vm
|
||||
];
|
||||
]);
|
||||
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "unciv";
|
||||
version = "4.9.19";
|
||||
version = "4.10.4";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/yairm210/Unciv/releases/download/${version}/Unciv.jar";
|
||||
hash = "sha256-C591QKk36v4GAO2oXLOHE4B2RpOObtriN6EPC+xXKnc=";
|
||||
hash = "sha256-GWGmb3xAMwb7rLMQfW9CzXke9aqXjMWlPILoZiaUHPE=";
|
||||
};
|
||||
|
||||
dontUnpack = true;
|
||||
|
@ -42,7 +42,7 @@ stdenv.mkDerivation rec {
|
|||
runHook preInstall
|
||||
|
||||
makeWrapper ${jre}/bin/java $out/bin/unciv \
|
||||
--prefix LD_LIBRARY_PATH : ${envLibPath} \
|
||||
--prefix LD_LIBRARY_PATH : "${envLibPath}" \
|
||||
--prefix PATH : ${lib.makeBinPath [ jre ]} \
|
||||
--add-flags "-jar ${src}"
|
||||
|
||||
|
|
Loading…
Reference in a new issue