1 { lib, buildGoModule, fetchFromGitHub, installShellFiles }:
7 src = fetchFromGitHub {
11 sha256 = "sha256-h0JR641+VBiTJY8INXhxwvsyZGLH4YRdkddwo2IUDQk=";
14 vendorSha256 = "sha256-M9B/rfMBjYJb9szmYPVZqURlcv62qHOLJ3ka0v++z0s=";
16 nativeBuildInputs = [ installShellFiles ];
21 "-X main.version=${version}"
25 installShellCompletion --cmd ctlptl \
26 --bash <($out/bin/ctlptl completion bash) \
27 --fish <($out/bin/ctlptl completion fish) \
28 --zsh <($out/bin/ctlptl completion zsh)
32 description = "CLI for declaratively setting up local Kubernetes clusters";
33 homepage = "https://github.com/tilt-dev/ctlptl";
34 license = licenses.asl20;
35 maintainers = with maintainers; [ svrana ];