1 { lib, buildGoModule, fetchFromGitHub, installShellFiles, testers, kapp }:
7 src = fetchFromGitHub {
8 owner = "vmware-tanzu";
11 sha256 = "sha256-q9Am9ryrvmvuUCmHNCsf1iZz0wdaO87C1Gbvi40cKIA=";
16 subPackages = [ "cmd/kapp" ];
19 "-X github.com/vmware-tanzu/carvel-kapp/pkg/kapp/version.Version=${version}"
22 nativeBuildInputs = [ installShellFiles ];
25 for shell in bash fish zsh; do
26 $out/bin/kapp completion $shell > kapp.$shell
27 installShellCompletion kapp.$shell
31 passthru.tests.version = testers.testVersion {
36 description = "CLI tool that encourages Kubernetes users to manage bulk resources with an application abstraction for grouping";
37 homepage = "https://get-kapp.io";
38 license = licenses.asl20;
39 maintainers = with maintainers; [ brodes ];