mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 02:03:01 +00:00
26 lines
631 B
Nix
26 lines
631 B
Nix
{ buildGoModule, fetchFromGitHub, lib }:
|
|
|
|
buildGoModule rec {
|
|
pname = "jsonnet-bundler";
|
|
version = "0.5.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jsonnet-bundler";
|
|
repo = "jsonnet-bundler";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-vjb5wEiJw48s7FUarpA94ZauFC7iEgRDAkRTwRIZ8pA=";
|
|
};
|
|
|
|
vendorSha256 = null;
|
|
|
|
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 ];
|
|
mainProgram = "jb";
|
|
};
|
|
}
|