1 {lib, stdenv, fetchurl, SDL, libGLU, libGL, SDL_image, freealut, openal, libvorbis,
4 stdenv.mkDerivation rec {
5 pname = "ultimate-stunts";
8 url = "mirror://sourceforge/ultimatestunts/ultimatestunts-srcdata-${lib.replaceStrings ["."] [""] version}.tar.gz";
9 sha256 = "sha256-/MBuSi/yxcG9k3ZwrNsHkUDzzg798AV462VZog67JtM=";
12 nativeBuildInputs = [ pkg-config ];
13 buildInputs = [ SDL libGLU libGL SDL_image freealut openal libvorbis ];
16 sed -e '1i#include <unistd.h>' -i $(find . -name '*.c' -o -name '*.cpp')
20 homepage = "http://www.ultimatestunts.nl/";
21 description = "Remake of the popular racing DOS-game Stunts";
22 license = lib.licenses.gpl2Plus;
24 platforms = with lib.platforms; linux;