unciv 4.6.14-patch1 -> 4.6.16 https://github.com/yairm210/Unciv/releases attrpath: unciv Checking auto update branch... No auto update branch exists Old version 4.6.14-patch1" not present in master derivation file with contents: { stdenv , lib , fetchurl , copyDesktopItems , makeDesktopItem , makeWrapper , jre , libpulseaudio , libXxf86vm }: let desktopItem = makeDesktopItem { name = "unciv"; exec = "unciv"; comment = "An open-source Android/Desktop remake of Civ V"; desktopName = "Unciv"; categories = [ "Game" ]; }; envLibPath = lib.makeLibraryPath [ libpulseaudio libXxf86vm ]; in stdenv.mkDerivation rec { pname = "unciv"; version = "4.6.15"; src = fetchurl { url = "https://github.com/yairm210/Unciv/releases/download/${version}/Unciv.jar"; hash = "sha256-69JEf5dG3Nf4CLT8eKfeo/8givyyxb9QpQSAZ2dG7TI="; }; dontUnpack = true; nativeBuildInputs = [ copyDesktopItems makeWrapper ]; installPhase = '' runHook preInstall makeWrapper ${jre}/bin/java $out/bin/unciv \ --prefix LD_LIBRARY_PATH : ${envLibPath} \ --prefix PATH : ${lib.makeBinPath [ jre ]} \ --add-flags "-jar ${src}" runHook postInstall ''; desktopItems = [ desktopItem ]; meta = with lib; { description = "An open-source Android/Desktop remake of Civ V"; homepage = "https://github.com/yairm210/Unciv"; maintainers = with maintainers; [ tex ]; sourceProvenance = with sourceTypes; [ binaryBytecode ]; license = licenses.mpl20; platforms = platforms.all; }; }