uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
26
pkgs/games/ultimatestunts/default.nix
Normal file
26
pkgs/games/ultimatestunts/default.nix
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{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 = with lib.maintainers; [viric];
|
||||
platforms = with lib.platforms; linux;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue