2019-11-10 16:44:34 +00:00
|
|
|
{stdenv, fetchurl, SDL, libGLU, libGL, SDL_image, freealut, openal, libvorbis,
|
2011-03-29 21:47:55 +01:00
|
|
|
pkgconfig}:
|
2009-12-23 22:28:50 +00:00
|
|
|
|
2019-08-13 22:52:01 +01:00
|
|
|
stdenv.mkDerivation {
|
2011-03-29 21:47:55 +01:00
|
|
|
name = "ultimate-stunts-0.7.6.1";
|
2009-12-23 22:28:50 +00:00
|
|
|
src = fetchurl {
|
2020-04-01 02:11:51 +01:00
|
|
|
url = "mirror://sourceforge/ultimatestunts/ultimatestunts-srcdata-0761.tar.gz";
|
2011-03-29 21:47:55 +01:00
|
|
|
sha256 = "0rd565ml6l927gyq158klhni7myw8mgllhv0xl1fg9m8hlzssgrv";
|
2009-12-23 22:28:50 +00:00
|
|
|
};
|
|
|
|
|
2017-09-05 22:26:13 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2019-11-10 16:44:34 +00:00
|
|
|
buildInputs = [ SDL libGLU libGL SDL_image freealut openal libvorbis ];
|
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 = {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://www.ultimatestunts.nl/";
|
2009-12-23 22:28:50 +00:00
|
|
|
description = "Remake of the popular racing DOS-game Stunts";
|
2014-06-19 05:19:00 +01: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;
|
|
|
|
};
|
|
|
|
}
|