2020-12-07 07:45:13 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "ytt";
|
2022-09-22 12:36:57 +00:00
|
|
|
version = "0.43.0";
|
2020-12-07 07:45:13 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "vmware-tanzu";
|
|
|
|
repo = "carvel-ytt";
|
|
|
|
rev = "v${version}";
|
2022-09-22 12:36:57 +00:00
|
|
|
sha256 = "sha256-oxN4IfJ6ATw92Yri2l1R0EF1CKsGrXikaaEPpnU9qqc=";
|
2020-12-07 07:45:13 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
vendorSha256 = null;
|
|
|
|
|
2022-08-12 12:06:08 +00:00
|
|
|
ldflags = [
|
|
|
|
"-X github.com/vmware-tanzu/carvel-ytt/pkg/version.Version=${version}"
|
|
|
|
];
|
|
|
|
|
2020-12-07 07:45:13 +00:00
|
|
|
subPackages = [ "cmd/ytt" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "YAML templating tool that allows configuration of complex software via reusable templates with user-provided values";
|
|
|
|
homepage = "https://get-ytt.io";
|
|
|
|
license = licenses.asl20;
|
2022-06-16 17:23:12 +00:00
|
|
|
maintainers = with maintainers; [ brodes techknowlogick ];
|
2020-12-07 07:45:13 +00:00
|
|
|
};
|
|
|
|
}
|