2020-11-30 08:33:03 +00:00
|
|
|
{ buildGoModule, fetchFromGitHub, lib }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "jsonnet-bundler";
|
2022-08-21 13:32:41 +00:00
|
|
|
version = "0.5.1";
|
2020-11-30 08:33:03 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jsonnet-bundler";
|
|
|
|
repo = "jsonnet-bundler";
|
|
|
|
rev = "v${version}";
|
2022-08-21 13:32:41 +00:00
|
|
|
sha256 = "sha256-vjb5wEiJw48s7FUarpA94ZauFC7iEgRDAkRTwRIZ8pA=";
|
2020-11-30 08:33:03 +00:00
|
|
|
};
|
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
vendorHash = null;
|
2020-11-30 08:33:03 +00:00
|
|
|
|
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
|
|
|
};
|
|
|
|
}
|