13 src = fetchFromGitHub {
17 sha256 = "sha256-7PN6ejI7Ov0O3oJW71P3s3RWeRrX6M4+GTqsVlr8+7w=";
22 nativeBuildInputs = [ installShellFiles ];
27 "-X carvel.dev/ytt/pkg/version.Version=${version}"
31 installShellCompletion --cmd ytt \
32 --bash <($out/bin/ytt completion bash) \
33 --fish <($out/bin/ytt completion fish) \
34 --zsh <($out/bin/ytt completion zsh)
37 # Once `__structuredArgs` is introduced, integrate checks and
38 # set some regexes `checkFlags = [ "-skip=TestDataValues.*" ]`
39 # etc. So far we dont test because passing '*' chars through the Go builder
43 passthru.tests.version = testers.testVersion {
45 command = "ytt --version";
50 description = "YAML templating tool that allows configuration of complex software via reusable templates with user-provided values";
52 homepage = "https://get-ytt.io";
53 license = licenses.asl20;
54 maintainers = with maintainers; [