nixpkgs/pkgs/games/ultimatestunts/default.nix
Anderson Torres 9a624d10e3 treewide: remove viric from meta.maintainers [orphans]
Since theey is not active from at least six years.

All the packages on this commit became orphans.

---------------------------------------------------------------------------
There are files not covered by this commit, because they will be adopted
soon. Namely:

- pkgs/by-name/zs/zsync/package.nix
- pkgs/games/bsdgames/default.nix
- pkgs/misc/ghostscript/default.nix
- pkgs/os-specific/linux/kernel/perf/default.nix
- pkgs/tools/system/logrotate/default.nix
2024-07-28 11:48:51 -03:00

27 lines
838 B
Nix

{lib, stdenv, fetchurl, SDL, libGLU, libGL, SDL_image, freealut, openal, libvorbis,
pkg-config}:
stdenv.mkDerivation rec {
pname = "ultimate-stunts";
version = "0.7.7.1";
src = fetchurl {
url = "mirror://sourceforge/ultimatestunts/ultimatestunts-srcdata-${lib.replaceStrings ["."] [""] version}.tar.gz";
sha256 = "sha256-/MBuSi/yxcG9k3ZwrNsHkUDzzg798AV462VZog67JtM=";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ SDL libGLU libGL SDL_image freealut openal libvorbis ];
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 = lib.licenses.gpl2Plus;
maintainers = [ ];
platforms = with lib.platforms; linux;
};
}