02cf88bb76
GitOrigin-RevId: c4a0efdd5a728e20791b8d8d2f26f90ac228ee8d
27 lines
725 B
Nix
27 lines
725 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
buildGoModule rec {
|
|
pname = "ytt";
|
|
version = "0.42.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "vmware-tanzu";
|
|
repo = "carvel-ytt";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-D9ugW/b8k1SIUjlReLB8bk0VOSymBKYrm7tSlU2B9zg=";
|
|
};
|
|
|
|
vendorSha256 = null;
|
|
|
|
ldflags = [
|
|
"-X github.com/vmware-tanzu/carvel-ytt/pkg/version.Version=${version}"
|
|
];
|
|
|
|
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;
|
|
maintainers = with maintainers; [ brodes techknowlogick ];
|
|
};
|
|
}
|