1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 22:20:51 +00:00
nixpkgs/pkgs/games/ultimatestunts/default.nix
2014-07-28 11:31:14 +02:00

25 lines
779 B
Nix

{stdenv, fetchurl, SDL, mesa, SDL_image, freealut, openal, libvorbis,
pkgconfig}:
stdenv.mkDerivation rec {
name = "ultimate-stunts-0.7.6.1";
src = fetchurl {
url = mirror://sourceforge/ultimatestunts/ultimatestunts-srcdata-0761.tar.gz;
sha256 = "0rd565ml6l927gyq158klhni7myw8mgllhv0xl1fg9m8hlzssgrv";
};
buildInputs = [ SDL mesa SDL_image freealut openal libvorbis pkgconfig ];
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";
license = stdenv.lib.licenses.gpl2Plus;
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
};
}