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
|
|
@ -0,0 +1,33 @@
|
|||
{ stdenv, lib, fetchFromGitHub, go }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "AutomaticComponentToolkit";
|
||||
version = "1.6.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Autodesk";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1r0sbw82cf9dbcj3vgnbd4sc1lklzvijic2z5wgkvs21azcm0yzh";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ go ];
|
||||
|
||||
buildPhase = ''
|
||||
cd Source
|
||||
export HOME=/tmp
|
||||
go build -o act *.go
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
install -Dm0755 act $out/bin/act
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Toolkit to automatically generate software components: abstract API, implementation stubs and language bindings";
|
||||
homepage = "https://github.com/Autodesk/AutomaticComponentToolkit";
|
||||
license = licenses.bsd2;
|
||||
maintainers = with maintainers; [ gebner ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue