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
10
pkgs/development/tools/build-managers/redo-c/Makefile
Normal file
10
pkgs/development/tools/build-managers/redo-c/Makefile
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
CFLAGS ?= -Os
|
||||
|
||||
all: redo links
|
||||
|
||||
links:
|
||||
sh links.do
|
||||
|
||||
install:
|
||||
mkdir -p "$(out)/bin"
|
||||
cp --no-dereference redo redo-* "$(out)/bin"
|
||||
24
pkgs/development/tools/build-managers/redo-c/default.nix
Normal file
24
pkgs/development/tools/build-managers/redo-c/default.nix
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
{ lib, stdenv, fetchFromGitHub }:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "redo-c";
|
||||
version = "0.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "leahneukirchen";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-oZcaBgESIaD7/SUBE7luh7axucKTEzXPVkQAQs2NCXE=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
cp '${./Makefile}' Makefile
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "An implementation of the redo build system in portable C with zero dependencies";
|
||||
homepage = "https://github.com/leahneukirchen/redo-c";
|
||||
license = licenses.cc0;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ ck3d ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue