nixpkgs/pkgs/development/tools/vendir/default.nix
2023-10-02 23:46:27 +00:00

25 lines
630 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "vendir";
version = "0.35.0";
src = fetchFromGitHub {
owner = "vmware-tanzu";
repo = "carvel-vendir";
rev = "v${version}";
sha256 = "sha256-aN8O+5zzGGLWAPk/oNFOnBBv2rsljWaxTKlC19XTt58=";
};
vendorHash = 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 ];
};
}