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,34 @@
|
|||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "bazel-buildtools";
|
||||
version = "5.1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bazelbuild";
|
||||
repo = "buildtools";
|
||||
rev = version;
|
||||
sha256 = "sha256-PNIqsP5p+OdYH0JgOmjqvge9zVOrAcNg0FMflXFJHwQ=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-9WUjQhXWkpSEJj9Xq+9rOe3I1VZ7nqMTnX7DPl+rxsU=";
|
||||
|
||||
preBuild = ''
|
||||
rm -r warn/docs
|
||||
'';
|
||||
|
||||
doCheck = false;
|
||||
|
||||
excludedPackages = [ "generatetables" ];
|
||||
|
||||
ldflags = [ "-s" "-w" "-X main.buildVersion=${version}" "-X main.buildScmRevision=${src.rev}" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Tools for working with Google's bazel buildtool. Includes buildifier, buildozer, and unused_deps";
|
||||
homepage = "https://github.com/bazelbuild/buildtools";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers;
|
||||
[ elasticdog uri-canva marsam ]
|
||||
++ lib.teams.bazel.members;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue