blob: 2c41a11ab575577550324077a53c40d6d85bab33 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
{ fetchgit, stdenv, cmake, boost, ogre, mygui, ois, SDL2, libvorbis, pkgconfig
, makeWrapper, enet, libXcursor }:
stdenv.mkDerivation rec {
name = "stunt-rally-${version}";
version = "2.5";
src = fetchgit {
url = git://github.com/stuntrally/stuntrally.git;
rev = "refs/tags/${version}";
sha256 = "1lsh7z7sjfwpdybg6vbwqx1zxsgbfp2n60n7xl33v225p32qh1qf";
};
tracks = fetchgit {
url = git://github.com/stuntrally/tracks.git;
rev = "refs/tags/${version}";
sha256 = "1614j6q1d2f69l58kkqndndvf6svcghhw8pzc2s1plf6k87h67mg";
};
preConfigure = ''
cp -R ${tracks} data/tracks
chmod u+rwX -R data
'';
buildInputs = [ cmake boost ogre mygui ois SDL2 libvorbis pkgconfig
makeWrapper enet libXcursor
];
enableParallelBuilding = true;
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 = licenses.gpl3Plus;
maintainers = with maintainers; [ pSub ];
platforms = platforms.linux;
};
}
|