ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
25 lines
658 B
Nix
25 lines
658 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "vendir";
|
|
version = "0.40.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "vmware-tanzu";
|
|
repo = "carvel-vendir";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-Hyx33/j9spZEEkKB5R2vUmEq8tjzoQiI2EKdyXymQR8=";
|
|
};
|
|
|
|
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";
|
|
mainProgram = "vendir";
|
|
homepage = "https://carvel.dev/vendir/";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ russell ];
|
|
};
|
|
}
|