mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-30 17:43:42 +00:00
28 lines
663 B
Nix
28 lines
663 B
Nix
{ 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" ];
|
|
|
|
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";
|
|
};
|
|
}
|