diff options
Diffstat (limited to 'pkgs/games/trigger/default.nix')
-rw-r--r-- | pkgs/games/trigger/default.nix | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/pkgs/games/trigger/default.nix b/pkgs/games/trigger/default.nix index 9f7a1844f9ee9..df005af39e579 100644 --- a/pkgs/games/trigger/default.nix +++ b/pkgs/games/trigger/default.nix @@ -1,20 +1,20 @@ -{ fetchurl, stdenv, SDL, freealut, SDL_image, openal, physfs, zlib, mesa, glew }: +{ fetchurl, stdenv, SDL2, freealut, SDL2_image, openal, physfs, zlib, mesa, glew }: stdenv.mkDerivation rec { - name = "trigger-rally-0.6.3"; + name = "trigger-rally-0.6.5"; src = fetchurl { url = "mirror://sourceforge/trigger-rally/${name}.tar.gz"; - sha256 = "103mv4vpq335mrmgzlhahrfncq7ds3b5ip5a52967rv2j6hhzpvy"; + sha256 = "095s4sx0s1ijlarkh84rvzlv4nxh9llrsal1lb3m3pf0v228gnzj"; }; - buildInputs = [ SDL freealut SDL_image openal physfs zlib mesa glew ]; + buildInputs = [ SDL2 freealut SDL2_image openal physfs zlib mesa glew ]; preConfigure = '' sed s,/usr/local,$out, -i bin/*defs cd src - export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${SDL.dev}/include/SDL" + export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${SDL2.dev}/include/SDL2" export makeFlags="$makeFlags prefix=$out" ''; @@ -29,9 +29,6 @@ stdenv.mkDerivation rec { chmod +x $out/bin/trigger-rally ''; - # search.patch : fix c++ error. - patches = [ ./search.patch ]; - meta = { description = "Rally"; homepage = http://trigger-rally.sourceforge.net/; |