nixpkgs/pkgs/games/ultimatestunts/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
864 B
Nix
Raw Normal View History

2021-01-15 05:31:39 +01:00
{lib, stdenv, fetchurl, SDL, libGLU, libGL, SDL_image, freealut, openal, libvorbis,
pkg-config}:
2021-06-22 23:44:58 +02:00
stdenv.mkDerivation rec {
pname = "ultimate-stunts";
2021-08-17 21:28:13 +02:00
version = "0.7.7.1";
src = fetchurl {
2021-06-22 23:44:58 +02:00
url = "mirror://sourceforge/ultimatestunts/ultimatestunts-srcdata-${lib.replaceStrings ["."] [""] version}.tar.gz";
2021-08-17 21:28:13 +02:00
sha256 = "sha256-/MBuSi/yxcG9k3ZwrNsHkUDzzg798AV462VZog67JtM=";
};
nativeBuildInputs = [ pkg-config ];
2019-11-10 17:44:34 +01:00
buildInputs = [ SDL libGLU libGL SDL_image freealut openal libvorbis ];
2014-02-02 12:03:22 +01: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 05:31:39 +01:00
license = lib.licenses.gpl2Plus;
maintainers = with lib.maintainers; [viric];
platforms = with lib.platforms; linux;
};
}