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
24
pkgs/development/tools/yj/default.nix
Normal file
24
pkgs/development/tools/yj/default.nix
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "yj";
|
||||
version = "5.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "sclevine";
|
||||
repo = "yj";
|
||||
rev = "c4c13b7641389c76ea028b48091f851f3efb6376";
|
||||
sha256 = "0bnb88wfm2vagh4yb1h9xhp3045ga0b6a77n3j2z5b4mvwshx5dr";
|
||||
};
|
||||
|
||||
vendorSha256 = "0y0n9fsb85qlpf9slwsxzarmfi98asa4x04qp2r8pagl28l0i8wv";
|
||||
|
||||
ldflags = [ "-s" "-w" "-X main.Version=${version}" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Convert YAML <=> TOML <=> JSON <=> HCL";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ Profpatsch ];
|
||||
homepage = "https://github.com/sclevine/yj";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue