2011-03-29 20:47:55 +00:00
|
|
|
{stdenv, fetchurl, SDL, mesa, SDL_image, freealut, openal, libvorbis,
|
|
|
|
pkgconfig}:
|
2009-12-23 22:28:50 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2011-03-29 20:47:55 +00:00
|
|
|
name = "ultimate-stunts-0.7.6.1";
|
2009-12-23 22:28:50 +00:00
|
|
|
src = fetchurl {
|
2011-03-29 20:47:55 +00:00
|
|
|
url = mirror://sourceforge/ultimatestunts/ultimatestunts-srcdata-0761.tar.gz;
|
|
|
|
sha256 = "0rd565ml6l927gyq158klhni7myw8mgllhv0xl1fg9m8hlzssgrv";
|
2009-12-23 22:28:50 +00:00
|
|
|
};
|
|
|
|
|
2011-03-29 20:47:55 +00:00
|
|
|
buildInputs = [ SDL mesa SDL_image freealut openal libvorbis pkgconfig ];
|
2009-12-23 22:28:50 +00:00
|
|
|
|
2014-02-02 11:03:22 +00:00
|
|
|
postPatch = ''
|
|
|
|
sed -e '1i#include <unistd.h>' -i $(find . -name '*.c' -o -name '*.cpp')
|
|
|
|
'';
|
|
|
|
|
2009-12-23 22:28:50 +00:00
|
|
|
meta = {
|
|
|
|
homepage = http://www.ultimatestunts.nl/;
|
|
|
|
description = "Remake of the popular racing DOS-game Stunts";
|
2014-06-19 04:19:00 +00:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2009-12-23 22:28:50 +00:00
|
|
|
maintainers = with stdenv.lib.maintainers; [viric];
|
|
|
|
platforms = with stdenv.lib.platforms; linux;
|
|
|
|
};
|
|
|
|
}
|