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
32
pkgs/tools/misc/mmake/default.nix
Normal file
32
pkgs/tools/misc/mmake/default.nix
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "mmake";
|
||||
version = "1.4.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "tj";
|
||||
repo = "mmake";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-JPsVfLIl06PJ8Nsfu7ogwrttB1G93HTKbZFqUTSV9O8=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-0z+sujzzBl/rtzXbhL4Os+jYfLUuO9PlXshUDxAH9DU=";
|
||||
|
||||
ldflags = [ "-s" "-w" ];
|
||||
|
||||
checkFlags = [ "-short" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/tj/mmake";
|
||||
description = "A small program which wraps make to provide additional functionality";
|
||||
longDescription = ''
|
||||
Mmake is a small program which wraps make to provide additional
|
||||
functionality, such as user-friendly help output, remote
|
||||
includes, and eventually more. It otherwise acts as a
|
||||
pass-through to standard make.
|
||||
'';
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.gabesoft ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue