1 { lib, buildGoModule, fetchFromGitHub, installShellFiles, testers, kapp }:
7 src = fetchFromGitHub {
11 hash = "sha256-mOXjPdeDJKBEW7Jr0yMFpZ4WBciJBh0s2AEMtog6CIw=";
16 subPackages = [ "cmd/kapp" ];
21 "-X carvel.dev/kapp/pkg/kapp/version.Version=${version}"
24 nativeBuildInputs = [ installShellFiles ];
27 for shell in bash fish zsh; do
28 $out/bin/kapp completion $shell > kapp.$shell
29 installShellCompletion kapp.$shell
33 passthru.tests.version = testers.testVersion {
38 description = "CLI tool that encourages Kubernetes users to manage bulk resources with an application abstraction for grouping";
39 homepage = "https://carvel.dev/kapp/";
40 license = licenses.asl20;
41 maintainers = with maintainers; [ brodes ];