diff options
author | Astro <astro@spaceboyz.net> | 2021-10-20 00:31:13 +0200 |
---|---|---|
committer | Astro <astro@spaceboyz.net> | 2021-10-20 00:31:51 +0200 |
commit | 0da88ff0a0289dbfe32929a704588152a11faee9 (patch) | |
tree | 7be670d9ce2a239c48830087961cf5e9afd8adcc | |
parent | d68053da0ab2e890703f6760854fe9f1d050b801 (diff) |
yquake2: 7.43 -> 8.00
-rw-r--r-- | pkgs/games/quake2/yquake2/default.nix | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/pkgs/games/quake2/yquake2/default.nix b/pkgs/games/quake2/yquake2/default.nix index 57405d9abd389..d251c48d38231 100644 --- a/pkgs/games/quake2/yquake2/default.nix +++ b/pkgs/games/quake2/yquake2/default.nix @@ -15,15 +15,20 @@ let yquake2 = stdenv.mkDerivation rec { pname = "yquake2"; - version = "7.43"; + version = "8.00"; src = fetchFromGitHub { owner = "yquake2"; repo = "yquake2"; rev = "QUAKE2_${builtins.replaceStrings ["."] ["_"] version}"; - sha256 = "1dszbvxlh1npq4nv9s4wv4lcyfgb01k92ncxrrczsxy1dddg86pp"; + sha256 = "0xnpmh0pl1095dykhc76rp242x587yh9zh6wayqzaam6cn3xlz3w"; }; + postPatch = '' + substituteInPlace src/common/filesystem.c \ + --replace /usr/share/games/quake2 $out/share/games/quake2 + ''; + nativeBuildInputs = [ cmake ]; buildInputs = [ SDL2 libGL curl ] |