nixpkgs/pkgs/development/tools/jsonnet-bundler/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
631 B
Nix
Raw Normal View History

2020-10-27 18:56:13 +00:00
{ buildGoModule, fetchFromGitHub, lib }:
buildGoModule rec {
pname = "jsonnet-bundler";
2022-06-26 03:44:10 +00:00
version = "0.5.1";
2020-10-27 18:56:13 +00:00
src = fetchFromGitHub {
owner = "jsonnet-bundler";
repo = "jsonnet-bundler";
rev = "v${version}";
2022-06-26 03:44:10 +00:00
sha256 = "sha256-vjb5wEiJw48s7FUarpA94ZauFC7iEgRDAkRTwRIZ8pA=";
2020-10-27 18:56:13 +00:00
};
vendorSha256 = null;
2021-08-26 06:45:51 +00:00
ldflags = [ "-s" "-w" "-X main.Version=${version}" ];
2020-10-27 18:56:13 +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 ];
mainProgram = "jb";
2020-10-27 18:56:13 +00:00
};
}