2021-01-15 05:31:39 +01:00
|
|
|
{lib, stdenv, fetchurl, SDL, libGLU, libGL, SDL_image, freealut, openal, libvorbis,
|
2021-01-17 06:49:22 +01:00
|
|
|
pkg-config}:
|
2009-12-23 23:28:50 +01:00
|
|
|
|
2019-08-13 23:52:01 +02:00
|
|
|
stdenv.mkDerivation {
|
2011-03-29 22:47:55 +02:00
|
|
|
name = "ultimate-stunts-0.7.6.1";
|
2009-12-23 23:28:50 +01:00
|
|
|
src = fetchurl {
|
2020-04-01 03:11:51 +02:00
|
|
|
url = "mirror://sourceforge/ultimatestunts/ultimatestunts-srcdata-0761.tar.gz";
|
2011-03-29 22:47:55 +02:00
|
|
|
sha256 = "0rd565ml6l927gyq158klhni7myw8mgllhv0xl1fg9m8hlzssgrv";
|
2009-12-23 23:28:50 +01:00
|
|
|
};
|
|
|
|
|
2021-01-17 06:49:22 +01:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2019-11-10 17:44:34 +01:00
|
|
|
buildInputs = [ SDL libGLU libGL SDL_image freealut openal libvorbis ];
|
2009-12-23 23:28:50 +01:00
|
|
|
|
2014-02-02 12:03:22 +01:00
|
|
|
postPatch = ''
|
|
|
|
sed -e '1i#include <unistd.h>' -i $(find . -name '*.c' -o -name '*.cpp')
|
|
|
|
'';
|
|
|
|
|
2009-12-23 23:28:50 +01:00
|
|
|
meta = {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://www.ultimatestunts.nl/";
|
2009-12-23 23:28:50 +01:00
|
|
|
description = "Remake of the popular racing DOS-game Stunts";
|
2021-01-15 05:31:39 +01:00
|
|
|
license = lib.licenses.gpl2Plus;
|
|
|
|
maintainers = with lib.maintainers; [viric];
|
|
|
|
platforms = with lib.platforms; linux;
|
2009-12-23 23:28:50 +01:00
|
|
|
};
|
|
|
|
}
|