diff options
Diffstat (limited to 'pkgs/tools/games/minecraft')
4 files changed, 20 insertions, 15 deletions
diff --git a/pkgs/tools/games/minecraft/fabric-installer/default.nix b/pkgs/tools/games/minecraft/fabric-installer/default.nix index 4a11a08a42e6e..c717d25c55def 100644 --- a/pkgs/tools/games/minecraft/fabric-installer/default.nix +++ b/pkgs/tools/games/minecraft/fabric-installer/default.nix @@ -6,11 +6,11 @@ stdenv.mkDerivation rec { pname = "fabric-installer"; - version = "1.0.0"; + version = "1.0.1"; src = fetchurl { url = "https://maven.fabricmc.net/net/fabricmc/fabric-installer/${version}/fabric-installer-${version}.jar"; - sha256 = "sha256-fX5bHTp/jiCBBpiY6V3HHYS7Olx5yyNcA0iVFzz9NHs="; + sha256 = "sha256-Yu3xcL3MQe3qhdM6zz64VHQlhpmz1B+UGNKGyDbLCI0="; }; dontUnpack = true; @@ -27,7 +27,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://fabricmc.net/"; - description = "A lightweight, experimental modding toolchain for Minecraft"; + description = "Lightweight, experimental modding toolchain for Minecraft"; mainProgram = "fabric-installer"; sourceProvenance = with sourceTypes; [ binaryBytecode ]; license = licenses.asl20; diff --git a/pkgs/tools/games/minecraft/mcaselector/default.nix b/pkgs/tools/games/minecraft/mcaselector/default.nix index cbd0ce7036a1a..610a46526ad6e 100644 --- a/pkgs/tools/games/minecraft/mcaselector/default.nix +++ b/pkgs/tools/games/minecraft/mcaselector/default.nix @@ -2,23 +2,23 @@ , stdenvNoCC , fetchurl , makeWrapper -, wrapGAppsHook +, wrapGAppsHook3 , jre }: stdenvNoCC.mkDerivation (finalAttrs: { pname = "mcaselector"; - version = "2.4"; + version = "2.4.1"; src = fetchurl { url = "https://github.com/Querz/mcaselector/releases/download/${finalAttrs.version}/mcaselector-${finalAttrs.version}.jar"; - hash = "sha256-6WQIvDmyVVmxHFOMk2emT1a4PMGVjvtC0aSkryvwARs="; + hash = "sha256-4czkp7+akZEPvnYLMFGrqrhBYafDVxDo1iQZYwvaARE="; }; dontUnpack = true; dontBuild = true; - nativeBuildInputs = [ jre makeWrapper wrapGAppsHook ]; + nativeBuildInputs = [ jre makeWrapper wrapGAppsHook3 ]; dontWrapGApps = true; @@ -27,16 +27,19 @@ stdenvNoCC.mkDerivation (finalAttrs: { mkdir -p $out/{bin,lib/mcaselector} cp $src $out/lib/mcaselector/mcaselector.jar + + runHook postInstall + ''; + + preFixup = '' makeWrapper ${jre}/bin/java $out/bin/mcaselector \ --add-flags "-jar $out/lib/mcaselector/mcaselector.jar" \ ''${gappsWrapperArgs[@]} - - runHook postInstall ''; meta = with lib; { homepage = "https://github.com/Querz/mcaselector"; - description = "A tool to select chunks from Minecraft worlds for deletion or export"; + description = "Tool to select chunks from Minecraft worlds for deletion or export"; mainProgram = "mcaselector"; sourceProvenance = with sourceTypes; [ binaryBytecode ]; license = licenses.mit; diff --git a/pkgs/tools/games/minecraft/optifine/generic.nix b/pkgs/tools/games/minecraft/optifine/generic.nix index 3174998cb5f29..3a103c0572bad 100644 --- a/pkgs/tools/games/minecraft/optifine/generic.nix +++ b/pkgs/tools/games/minecraft/optifine/generic.nix @@ -29,7 +29,7 @@ runCommand "optifine-${mcVersion}" { meta = with lib; { homepage = "https://optifine.net/"; - description = "A Minecraft ${mcVersion} optimization mod"; + description = "Minecraft ${mcVersion} optimization mod"; longDescription = '' OptiFine is a Minecraft optimization mod. It allows Minecraft to run faster and look better with full support for HD textures and many configuration options. diff --git a/pkgs/tools/games/minecraft/packwiz/default.nix b/pkgs/tools/games/minecraft/packwiz/default.nix index 11d4774f01503..08055ee4f335b 100644 --- a/pkgs/tools/games/minecraft/packwiz/default.nix +++ b/pkgs/tools/games/minecraft/packwiz/default.nix @@ -2,18 +2,20 @@ , buildGoModule , fetchFromGitHub , installShellFiles +, unstableGitUpdater }: buildGoModule { pname = "packwiz"; - version = "unstable-2023-08-28"; + version = "0-unstable-2024-05-27"; src = fetchFromGitHub { owner = "packwiz"; repo = "packwiz"; - rev = "b451a9b034fd414a2a8d9b306bb8e29fb25ad245"; - sha256 = "sha256-Ly5z+h11yyhIgzhohjk2g8hQNEPkxxag9m7XYmTMfEQ="; + rev = "7b4be47578151c36e784306b36d251ec2590e50c"; + sha256 = "sha256-XBp8Xv55R8rhhsQiWnOPH8c3fCpV/yq41ozJDcGdWfs="; }; + passthru.updateScript = unstableGitUpdater { }; vendorHash = "sha256-yL5pWbVqf6mEpgYsItLnv8nwSmoMP+SE0rX/s7u2vCg="; @@ -29,7 +31,7 @@ buildGoModule { ''; meta = with lib; { - description = "A command line tool for editing and distributing Minecraft modpacks, using a git-friendly TOML format"; + description = "Command line tool for editing and distributing Minecraft modpacks, using a git-friendly TOML format"; homepage = "https://packwiz.infra.link/"; license = licenses.mit; maintainers = with maintainers; [ infinidoge ]; |