2020-11-30 08:33:03 +00:00
|
|
|
{ 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" ];
|
|
|
|
|
2021-08-27 14:25:00 +00:00
|
|
|
ldflags = [ "-s" "-w" "-X main.Version=${version}" ];
|
2020-11-30 08:33:03 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A jsonnet package manager";
|
|
|
|
homepage = "https://github.com/jsonnet-bundler/jsonnet-bundler";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ preisschild ];
|
2022-04-27 09:35:20 +00:00
|
|
|
mainProgram = "jb";
|
2020-11-30 08:33:03 +00:00
|
|
|
};
|
|
|
|
}
|