24 lines
632 B
Nix
24 lines
632 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "vendir";
|
|
version = "0.32.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "vmware-tanzu";
|
|
repo = "carvel-vendir";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-IgPUqIR9xuLEglVqVHz2KvqqCHpCPYv8TX+Z6q5xCNA=";
|
|
};
|
|
|
|
vendorSha256 = null;
|
|
|
|
subPackages = [ "cmd/vendir" ];
|
|
|
|
meta = with lib; {
|
|
description = "CLI tool to vendor portions of git repos, github releases, helm charts, docker image contents, etc. declaratively";
|
|
homepage = "https://carvel.dev/vendir/";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ russell ];
|
|
};
|
|
}
|