summary refs log tree commit diff
path: root/pkgs/games/stuntrally/default.nix
blob: 14db3dd52b80c40b517e5d4a15c556b78f2b5fe2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ fetchurl, stdenv, cmake, boost, ogre, myguiSvn, ois, SDL, libvorbis, pkgconfig }:

throw "Stunt Rally needs ogre with cg support at runtime - we have to package nvidia cg"

stdenv.mkDerivation rec {
  name = "stunt-rally-1.4";

  src = fetchurl {
    url = mirror://sourceforge/stuntrally/StuntRally-1.4-sources.tar.bz2;
    sha256 = "1am5af4l1qliyrq1183sqvwzqwcjx0v6gkzsxhfmk6ygp7yhw7kq";
  };

  buildInputs = [ cmake boost ogre myguiSvn ois SDL libvorbis pkgconfig ];

  enableParallelBuilding = true;

  meta = {
    description = "Stunt Rally game with Track Editor, based on VDrift and OGRE";
    homepage = http://code.google.com/p/vdrift-ogre/;
    license = "GPLv3+";
  };
}