1{ lib, buildGoModule, fetchFromGitHub }:
2
3buildGoModule rec {
4 pname = "vendir";
5 version = "0.23.0";
6
7 src = fetchFromGitHub {
8 owner = "vmware-tanzu";
9 repo = "carvel-vendir";
10 rev = "v${version}";
11 sha256 = "sha256-6f9UF0UgwKG3Mdgy85pW2KVjC8nbnMTwQJqIWxA3Jp4=";
12 };
13
14 vendorSha256 = null;
15
16 subPackages = [ "cmd/vendir" ];
17
18 meta = with lib; {
19 description = "CLI tool to vendor portions of git repos, github releases, helm charts, docker image contents, etc. declaratively";
20 homepage = "https://carvel.dev/vendir/";
21 license = licenses.asl20;
22 maintainers = with maintainers; [ russell ];
23 };
24}