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
28
pkgs/games/openttd/grfcodec.nix
Normal file
28
pkgs/games/openttd/grfcodec.nix
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
{ stdenv, lib, fetchFromGitHub, boost, cmake, git }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "openttd-grfcodec";
|
||||
version = "unstable-2021-03-10";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "OpenTTD";
|
||||
repo = "grfcodec";
|
||||
rev = "045774dee7cab1a618a3e0d9b39bff78a12b6efa";
|
||||
sha256 = "0b4xnnkqc01d3r834lhkq744ymar6c8iyxk51wc4c7hvz0vp9vmy";
|
||||
};
|
||||
|
||||
buildInputs = [boost];
|
||||
nativeBuildInputs = [cmake git];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
cp -a grfcodec grfid grfstrip nforenum $out/bin/
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Low-level (dis)assembler and linter for OpenTTD GRF files";
|
||||
homepage = "http://openttd.org/";
|
||||
license = licenses.gpl2;
|
||||
maintainers = with maintainers; [ ToxicFrog ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue