mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 20:33:21 +00:00
614f872178
vendir: 0.40.0 -> 0.40.1
30 lines
743 B
Nix
30 lines
743 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "vendir";
|
|
version = "0.40.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "vmware-tanzu";
|
|
repo = "carvel-vendir";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-v+p3I0PJc+7vgZqQA/dClv/GqOQTniwWHxXQamM+8oo=";
|
|
};
|
|
|
|
vendorHash = null;
|
|
|
|
subPackages = [ "cmd/vendir" ];
|
|
|
|
ldflags = [
|
|
"-X carvel.dev/vendir/pkg/vendir/version.Version=${version}"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "CLI tool to vendor portions of git repos, github releases, helm charts, docker image contents, etc. declaratively";
|
|
mainProgram = "vendir";
|
|
homepage = "https://carvel.dev/vendir/";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ russell ];
|
|
};
|
|
}
|