diff options
author | Pascal Wittmann <mail@pascal-wittmann.de> | 2014-11-14 18:18:44 +0100 |
---|---|---|
committer | Pascal Wittmann <mail@pascal-wittmann.de> | 2014-11-14 18:19:01 +0100 |
commit | 15b34eaeb9b7a2c76fe7d87b208d1b387a94e395 (patch) | |
tree | 23e9000353d7d87c61d5a390ee5f611a78c55afd | |
parent | c3f6af54deef25dfde03f3e5083e9565851605f8 (diff) | |
download | nixpkgs-15b34eaeb9b7a2c76fe7d87b208d1b387a94e395.tar nixpkgs-15b34eaeb9b7a2c76fe7d87b208d1b387a94e395.tar.gz nixpkgs-15b34eaeb9b7a2c76fe7d87b208d1b387a94e395.tar.bz2 nixpkgs-15b34eaeb9b7a2c76fe7d87b208d1b387a94e395.tar.lz nixpkgs-15b34eaeb9b7a2c76fe7d87b208d1b387a94e395.tar.xz nixpkgs-15b34eaeb9b7a2c76fe7d87b208d1b387a94e395.tar.zst nixpkgs-15b34eaeb9b7a2c76fe7d87b208d1b387a94e395.zip |
stuntrally: update from 2.4 to 2.5
-rw-r--r-- | pkgs/games/stuntrally/default.nix | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/pkgs/games/stuntrally/default.nix b/pkgs/games/stuntrally/default.nix index e0d0e3a1ef3..d9de1254915 100644 --- a/pkgs/games/stuntrally/default.nix +++ b/pkgs/games/stuntrally/default.nix @@ -2,17 +2,18 @@ , makeWrapper, enet, libXcursor }: stdenv.mkDerivation rec { - name = "stunt-rally-2.4"; + name = "stunt-rally-${version}"; + version = "2.5"; src = fetchgit { url = git://github.com/stuntrally/stuntrally.git; - rev = "refs/tags/2.4"; + rev = "refs/tags/${version}"; sha256 = "0zyzkac11dv9c1rxknydkisg2iw1rmi72psidl7jmq8v3rrqxk4r"; }; tracks = fetchgit { url = git://github.com/stuntrally/tracks.git; - rev = "refs/tags/2.4"; + rev = "refs/tags/${version}"; sha256 = "1j237dbhd1ik5mj8whbvlff5da9vzzgiskcj5nzfpw1vb1jpdjvd"; }; @@ -22,22 +23,15 @@ stdenv.mkDerivation rec { ''; buildInputs = [ cmake boost ogre mygui ois SDL2 libvorbis pkgconfig - makeWrapper enet - libXcursor + makeWrapper enet libXcursor ]; - # I think they suppose cmake should give them OGRE_PLUGIN_DIR defined, but - # the cmake code I saw is not ready for that. Therefore, we use the env var. - postInstall = '' - wrapProgram $out/bin/stuntrally --set OGRE_PLUGIN_DIR ${ogre}/lib/OGRE - wrapProgram $out/bin/sr-editor --set OGRE_PLUGIN_DIR ${ogre}/lib/OGRE - ''; - enableParallelBuilding = true; - meta = { + meta = with stdenv.lib; { description = "Stunt Rally game with Track Editor, based on VDrift and OGRE"; homepage = http://code.google.com/p/vdrift-ogre/; - license = stdenv.lib.licenses.gpl3Plus; + license = licenses.gpl3Plus; + maintainers = with maintainers; [ pSub ]; }; } |