22 stuntrally_ogre = ogre_13.overrideAttrs (old: {
23 cmakeFlags = old.cmakeFlags ++ [
24 "-DOGRE_NODELESS_POSITIONING=ON"
25 "-DOGRE_RESOURCEMANAGER_STRICT=0"
28 stuntrally_mygui = mygui.override {
30 ogre = stuntrally_ogre;
34 stdenv.mkDerivation rec {
38 src = fetchFromGitHub {
42 hash = "sha256-0Eh9ilIHSh/Uz8TuPnXxLQfy7KF7qqNXUgBXQUCz9ys=";
44 tracks = fetchFromGitHub {
48 hash = "sha256-fglm1FetFGHM/qGTtpxDb8+k2iAREn5DQR5GPujuLms=";
52 substituteInPlace config/*-default.cfg \
53 --replace "screenshot_png = off" "screenshot_png = on"
54 substituteInPlace source/*/BaseApp_Create.cpp \
55 --replace "Codec_FreeImage" "Codec_STBI"
60 ln -s ${tracks}/ data/tracks
63 nativeBuildInputs = [ cmake pkg-config makeWrapper ];
80 description = "Stunt Rally game with Track Editor, based on VDrift and OGRE";
81 homepage = "http://stuntrally.tuxfamily.org/";
82 license = licenses.gpl3Plus;
83 maintainers = with maintainers; [ pSub ];
84 platforms = platforms.linux;