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
25
pkgs/games/kobodeluxe/default.nix
Normal file
25
pkgs/games/kobodeluxe/default.nix
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{lib, stdenv, fetchurl, SDL, SDL_image, libGLU, libGL} :
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "kobodeluxe";
|
||||
version = "0.5.1";
|
||||
src = fetchurl {
|
||||
url = "http://olofson.net/kobodl/download/KoboDeluxe-${version}.tar.bz2";
|
||||
sha256 = "0f7b910a399d985437564af8c5d81d6dcf22b96b26b01488d72baa6a6fdb5c2c";
|
||||
};
|
||||
|
||||
buildInputs = [ SDL SDL_image libGLU libGL ];
|
||||
|
||||
prePatch = ''
|
||||
sed -e 's/char \*tok/const char \*tok/' -i graphics/window.cpp
|
||||
'';
|
||||
|
||||
patches = [ ./glibc29.patch ];
|
||||
|
||||
meta = {
|
||||
homepage = "http://olofson.net/kobodl/";
|
||||
description = "Enhanced version of Akira Higuchi's game XKobo for Un*x systems with X11";
|
||||
license = lib.licenses.gpl2Plus;
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue