depot/third_party/nixpkgs/pkgs/development/tools/jsonnet-bundler/default.nix
Default email cf3f6e7a7d Project import generated by Copybara.
GitOrigin-RevId: 24eb3f87fc610f18de7076aee7c5a84ac5591e3e
2020-11-30 09:33:03 +01:00

26 lines
652 B
Nix

{ 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" ];
buildFlagsArray = [ "-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 ];
};
}