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
37
pkgs/games/warmux/default.nix
Normal file
37
pkgs/games/warmux/default.nix
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
{ lib, stdenv, fetchFromGitHub, autoconf, automake
|
||||
, zlib, curl, gnutls, fribidi, libpng, SDL, SDL_gfx, SDL_image, SDL_mixer
|
||||
, SDL_net, SDL_ttf, libunwind, libX11, xorgproto, libxml2, pkg-config
|
||||
, gettext, intltool, libtool, perl
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "warmux";
|
||||
version = "unstable-2017-10-20";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "fluxer";
|
||||
repo = "warmux";
|
||||
rev = "8f81d4fc309a548ae89a068c2dde27b7e7ef8851";
|
||||
sha256 = "1hvzglsmp75xiqqb0k75qjz4jwi8kl3fhn8zfsz53hhhqmbw6wkr";
|
||||
};
|
||||
|
||||
preConfigure = "patchShebangs autogen.sh && ./autogen.sh";
|
||||
configureFlagsArray = ("CFLAGS=-include ${zlib.dev}/include/zlib.h");
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoconf automake gettext intltool libtool pkg-config
|
||||
];
|
||||
buildInputs = [
|
||||
zlib curl gnutls fribidi libpng SDL SDL_gfx SDL_image SDL_mixer
|
||||
SDL_net SDL_ttf libunwind libX11 xorgproto libxml2 perl
|
||||
];
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Ballistics turn-based battle game between teams - unofficial copy";
|
||||
maintainers = with maintainers; [ raskin ];
|
||||
platforms = platforms.linux;
|
||||
license = with licenses; [ gpl2 ufl ];
|
||||
homepage = "https://github.com/fluxer/warmux";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue