depot/third_party/nixpkgs/pkgs/development/tools/vendir/default.nix

25 lines
630 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "vendir";
version = "0.39.0";
src = fetchFromGitHub {
owner = "vmware-tanzu";
repo = "carvel-vendir";
rev = "v${version}";
sha256 = "sha256-m8dxYq3RcfWFBxja2E3MUqYAl1CYpkrBWPeMIC/7Sgg=";
};
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 ];
};
}