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
27
pkgs/development/tools/jsonnet-bundler/default.nix
Normal file
27
pkgs/development/tools/jsonnet-bundler/default.nix
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
{ buildGoModule, fetchFromGitHub, lib }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "jsonnet-bundler";
|
||||
version = "0.4.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jsonnet-bundler";
|
||||
repo = "jsonnet-bundler";
|
||||
rev = "v${version}";
|
||||
sha256 = "0pk6nf8r0wy7lnsnzyjd3vgq4b2kb3zl0xxn01ahpaqgmwpzajlk";
|
||||
};
|
||||
|
||||
vendorSha256 = null;
|
||||
|
||||
subPackages = [ "cmd/jb" ];
|
||||
|
||||
ldflags = [ "-s" "-w" "-X main.Version=${version}" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A jsonnet package manager";
|
||||
homepage = "https://github.com/jsonnet-bundler/jsonnet-bundler";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ preisschild ];
|
||||
mainProgram = "jb";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue