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
35
pkgs/games/abbaye-des-morts/default.nix
Normal file
35
pkgs/games/abbaye-des-morts/default.nix
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
{ lib, stdenv, fetchFromGitHub, SDL2, SDL2_image, SDL2_mixer }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "abbaye-des-morts";
|
||||
version = "2.0.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nevat";
|
||||
repo = "abbayedesmorts-gpl";
|
||||
rev = "v${version}";
|
||||
sha256 = "1pwqf7r9bqb2p3xrw9i7y8pgr1401fy3mnnqpb1qkhmdl3gqi9hb";
|
||||
};
|
||||
|
||||
buildInputs = [ SDL2 SDL2_image SDL2_mixer ];
|
||||
|
||||
makeFlags = [ "PREFIX=$(out)" "DESTDIR=" ];
|
||||
|
||||
preBuild = lib.optionalString stdenv.cc.isClang
|
||||
''
|
||||
substituteInPlace Makefile \
|
||||
--replace -fpredictive-commoning ""
|
||||
'';
|
||||
|
||||
preInstall = ''
|
||||
mkdir -p $out/bin
|
||||
mkdir -p $out/share/applications
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://locomalito.com/abbaye_des_morts.php";
|
||||
description = "A retro arcade video game";
|
||||
license = licenses.gpl3;
|
||||
maintainers = [ maintainers.marius851000 ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue