nixpkgs/pkgs/by-name/js/jsonnet-bundler/package.nix

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

26 lines
625 B
Nix
Raw Normal View History

2020-10-27 18:56:13 +00:00
{ buildGoModule, fetchFromGitHub, lib }:
buildGoModule rec {
pname = "jsonnet-bundler";
2024-08-23 11:13:08 +00:00
version = "0.6.0";
2020-10-27 18:56:13 +00:00
src = fetchFromGitHub {
owner = "jsonnet-bundler";
repo = "jsonnet-bundler";
rev = "v${version}";
2024-08-23 11:13:08 +00:00
hash = "sha256-VaYfjDSDst1joN2MnDVdz9SGGMamhYxfNM/a2mJf8Lo=";
2020-10-27 18:56:13 +00:00
};
vendorHash = null;
2020-10-27 18:56:13 +00:00
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 = "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
};
}