1 { lib, buildGoModule, fetchFromGitHub, installShellFiles }:
7 src = fetchFromGitHub {
8 owner = "vmware-tanzu";
11 sha256 = "sha256-7eG9ATZTqA48KFdPW/XVYNdq+giYVx0v1GDtabiTpQI=";
16 nativeBuildInputs = [ installShellFiles ];
19 "-X github.com/vmware-tanzu/carvel-ytt/pkg/version.Version=${version}"
22 subPackages = [ "cmd/ytt" ];
25 installShellCompletion --cmd ytt \
26 --bash <($out/bin/ytt completion bash) \
27 --fish <($out/bin/ytt completion fish) \
28 --zsh <($out/bin/ytt completion zsh)
32 description = "YAML templating tool that allows configuration of complex software via reusable templates with user-provided values";
34 homepage = "https://get-ytt.io";
35 license = licenses.asl20;
36 maintainers = with maintainers; [ brodes techknowlogick ];