3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/games/ultimatestunts/default.nix

26 lines
809 B
Nix
Raw Normal View History

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