mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
yquake2: 7.43 -> 8.00
This commit is contained in:
parent
d68053da0a
commit
0da88ff0a0
@ -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 ]
|
||||
|
Loading…
Reference in New Issue
Block a user