diff options
author | Michael Raskin <7c6f434c@mail.ru> | 2014-11-03 15:50:43 +0300 |
---|---|---|
committer | Michael Raskin <7c6f434c@mail.ru> | 2014-11-03 16:54:39 +0300 |
commit | 6707d9e8c36ab832238bb965cc66e6cf0aedc0a9 (patch) | |
tree | 559862a1727f7269988507e05a4f4fea2f21ad38 /pkgs/games/stuntrally/default.nix | |
parent | 1e99e7c30e912d23e6f756deb2b738a60fee8fbe (diff) |
Update Stunt Rally
Diffstat (limited to 'pkgs/games/stuntrally/default.nix')
-rw-r--r-- | pkgs/games/stuntrally/default.nix | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/pkgs/games/stuntrally/default.nix b/pkgs/games/stuntrally/default.nix index 7b258deef8a99..e0d0e3a1ef3be 100644 --- a/pkgs/games/stuntrally/default.nix +++ b/pkgs/games/stuntrally/default.nix @@ -1,31 +1,28 @@ -{ fetchgit, stdenv, cmake, boost, ogre, mygui, ois, SDL, libvorbis, pkgconfig +{ fetchgit, stdenv, cmake, boost, ogre, mygui, ois, SDL2, libvorbis, pkgconfig , makeWrapper, enet, libXcursor }: stdenv.mkDerivation rec { - name = "stunt-rally-1.8"; + name = "stunt-rally-2.4"; src = fetchgit { url = git://github.com/stuntrally/stuntrally.git; - rev = "refs/tags/1.8"; - sha256 = "0p8p83xx8q33kymsqnmxqca4jdfyg9rwrsac790z56gdbc7gnahm"; + rev = "refs/tags/2.4"; + sha256 = "0zyzkac11dv9c1rxknydkisg2iw1rmi72psidl7jmq8v3rrqxk4r"; }; tracks = fetchgit { url = git://github.com/stuntrally/tracks.git; - rev = "refs/tags/1.8"; - sha256 = "1gcrs21nn0v3hvhrw8dc0wh1knn5qh66cjx7a1igiciiadmi2s3l"; + rev = "refs/tags/2.4"; + sha256 = "1j237dbhd1ik5mj8whbvlff5da9vzzgiskcj5nzfpw1vb1jpdjvd"; }; - patchPhase = '' - sed -i 's/materials/materials material_templates/' data/CMakeLists.txt - ''; - preConfigure = '' - mkdir data/tracks - cp -R $tracks/* data/tracks + cp -R ${tracks} data/tracks + chmod u+rwX -R data ''; - buildInputs = [ cmake boost ogre mygui ois SDL libvorbis pkgconfig makeWrapper enet + buildInputs = [ cmake boost ogre mygui ois SDL2 libvorbis pkgconfig + makeWrapper enet libXcursor ]; |