diff options
author | Alyssa Ross <hi@alyssa.is> | 2024-01-07 14:58:29 +0100 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2024-01-07 14:58:29 +0100 |
commit | ad899504860973e98351c922ecb934595f2c0f19 (patch) | |
tree | b1260cc90947e834af941c6cb6aed51dc68f50b5 /nixpkgs/pkgs/games | |
parent | f34a1b70eb86e4a63cfb88ea460345bb1aed88e3 (diff) | |
parent | dc676e1b5014069a2b06e236242e2f0990384934 (diff) | |
download | nixlib-ad899504860973e98351c922ecb934595f2c0f19.tar nixlib-ad899504860973e98351c922ecb934595f2c0f19.tar.gz nixlib-ad899504860973e98351c922ecb934595f2c0f19.tar.bz2 nixlib-ad899504860973e98351c922ecb934595f2c0f19.tar.lz nixlib-ad899504860973e98351c922ecb934595f2c0f19.tar.xz nixlib-ad899504860973e98351c922ecb934595f2c0f19.tar.zst nixlib-ad899504860973e98351c922ecb934595f2c0f19.zip |
Merge branch 'nixos-unstable-small' of https://github.com/NixOS/nixpkgs
Diffstat (limited to 'nixpkgs/pkgs/games')
-rw-r--r-- | nixpkgs/pkgs/games/augustus/default.nix | 4 | ||||
-rw-r--r-- | nixpkgs/pkgs/games/prismlauncher/wrapper.nix | 23 | ||||
-rw-r--r-- | nixpkgs/pkgs/games/runelite/default.nix | 2 | ||||
-rw-r--r-- | nixpkgs/pkgs/games/sgt-puzzles/default.nix | 4 | ||||
-rw-r--r-- | nixpkgs/pkgs/games/vcmi/default.nix | 4 |
5 files changed, 17 insertions, 20 deletions
diff --git a/nixpkgs/pkgs/games/augustus/default.nix b/nixpkgs/pkgs/games/augustus/default.nix index df10516ab35c..5aec0186cfc4 100644 --- a/nixpkgs/pkgs/games/augustus/default.nix +++ b/nixpkgs/pkgs/games/augustus/default.nix @@ -2,13 +2,13 @@ stdenv.mkDerivation rec { pname = "augustus"; - version = "3.2.0"; + version = "4.0.0"; src = fetchFromGitHub { owner = "Keriew"; repo = "augustus"; rev = "v${version}"; - sha256 = "sha256-NS6ijgI/wLsGF5KabjaR7ElKWFXIdjpmPYHVmI4oMzQ="; + sha256 = "sha256-UWJmxirRJJqvL4ZSjBvFepeKVvL77+WMp4YdZuFNEkg="; }; nativeBuildInputs = [ cmake ]; diff --git a/nixpkgs/pkgs/games/prismlauncher/wrapper.nix b/nixpkgs/pkgs/games/prismlauncher/wrapper.nix index 9f9913e67f84..dafe7276af88 100644 --- a/nixpkgs/pkgs/games/prismlauncher/wrapper.nix +++ b/nixpkgs/pkgs/games/prismlauncher/wrapper.nix @@ -30,10 +30,13 @@ , textToSpeechSupport ? stdenv.isLinux , controllerSupport ? stdenv.isLinux -# The flag `withWaylandGLFW` enables runtime-checking of `WAYLAND_DISPLAY`; -# if the option is enabled, a patched version of GLFW will be added to -# `LD_LIBRARY_PATH` so that the launcher can use the correct one -# depending on the desktop environment used. + # Adds `glfw-wayland-minecraft` to `LD_LIBRARY_PATH` + # when launched on wayland, allowing for the game to be run natively. + # Make sure to enable "Use system installation of GLFW" in instance settings + # for this to take effect + # + # Warning: This build of glfw may be unstable, and the launcher + # itself can take slightly longer to start , withWaylandGLFW ? false , jdks ? [ jdk17 jdk8 ] @@ -44,14 +47,6 @@ assert lib.assertMsg (withWaylandGLFW -> stdenv.isLinux) "withWaylandGLFW is only available on Linux"; let - # By default, this package uses a binary wrapper for `wrapQtAppsHook`. - # Enabling `shellWrapper` will add `makeWrapper` to `nativeBuildInputs`, - # causing `wrapQtAppsHook` to output a shell wrapper instead. - # This is needed for checking environment variables at runtime - # and modifying others if necessary (see above option for example). - # Warning: This can make the program start slower, by about four milliseconds. - shellWrapper = withWaylandGLFW; - prismlauncher' = prismlauncher-unwrapped.override { inherit msaClientID gamemodeSupport; }; @@ -65,7 +60,9 @@ symlinkJoin { nativeBuildInputs = [ wrapQtAppsHook ] - ++ lib.optional shellWrapper makeWrapper; + # purposefully using a shell wrapper here for variable expansion + # see https://github.com/NixOS/nixpkgs/issues/172583 + ++ lib.optional withWaylandGLFW makeWrapper; buildInputs = [ qtbase diff --git a/nixpkgs/pkgs/games/runelite/default.nix b/nixpkgs/pkgs/games/runelite/default.nix index 5f38c4399aa7..02c41307101f 100644 --- a/nixpkgs/pkgs/games/runelite/default.nix +++ b/nixpkgs/pkgs/games/runelite/default.nix @@ -19,7 +19,7 @@ maven.buildMavenPackage rec { rev = version; hash = "sha256-lovDkEvzclZCBu/Ha8h0j595NZ4ejefEOX7lNmzb8I8="; }; - mvnHash = "sha256-iGnoAZcJvaVoACi9ozG/f+A8tjvDuwn22bMRyuUU5Jg="; + mvnHash = "sha256-bsJlsIXIIVzZyVgEF/SN+GgpZt6v0u800arO1c5QYHk="; desktop = makeDesktopItem { name = "RuneLite"; diff --git a/nixpkgs/pkgs/games/sgt-puzzles/default.nix b/nixpkgs/pkgs/games/sgt-puzzles/default.nix index a6d0bb52fb39..7361d2281113 100644 --- a/nixpkgs/pkgs/games/sgt-puzzles/default.nix +++ b/nixpkgs/pkgs/games/sgt-puzzles/default.nix @@ -6,11 +6,11 @@ stdenv.mkDerivation rec { pname = "sgt-puzzles"; - version = "20231120.08365fb"; + version = "20240103.7a93ae5"; src = fetchurl { url = "http://www.chiark.greenend.org.uk/~sgtatham/puzzles/puzzles-${version}.tar.gz"; - hash = "sha256-V4OHkF0i3dnvRXmo2UKItibr4Dr8vG1CX2L2/9mL7p4="; + hash = "sha256-1pTruSF+Kl1wqTFIaYYHrvbD9p+k+1PGa5PpV4jvgEk="; }; sgt-puzzles-menu = fetchurl { diff --git a/nixpkgs/pkgs/games/vcmi/default.nix b/nixpkgs/pkgs/games/vcmi/default.nix index 2cbbaa25ae5a..fc4ac89fb1b9 100644 --- a/nixpkgs/pkgs/games/vcmi/default.nix +++ b/nixpkgs/pkgs/games/vcmi/default.nix @@ -27,13 +27,13 @@ stdenv.mkDerivation rec { pname = "vcmi"; - version = "1.4.1"; + version = "1.4.2"; src = fetchFromGitHub { owner = "vcmi"; repo = "vcmi"; rev = version; - hash = "sha256-5G6qmn2b1/0h7aGNNx4t38Akzg2bZFKubOp3FLqSi+I="; + hash = "sha256-C8WzEidTanWKPI/J2bEsi7sTMhn+FmykC55EsXZLLQ0="; }; nativeBuildInputs = [ |