2021-03-27 18:04:00 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "vendir";
|
2021-08-23 08:05:25 +01:00
|
|
|
version = "0.22.0";
|
2021-03-27 18:04:00 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "vmware-tanzu";
|
|
|
|
repo = "carvel-vendir";
|
|
|
|
rev = "v${version}";
|
2021-08-23 08:05:25 +01:00
|
|
|
sha256 = "sha256-LvpzynT+ibrE1F1uv7X0pVtzOrVFIxFqbZwM04e1Do0=";
|
2021-03-27 18:04:00 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|