1 { lib, buildGoModule, fetchFromGitHub, installShellFiles }:
7 src = fetchFromGitHub {
11 hash = "sha256-8AqXF7bBgn8br3mooh1BHvN2wWQnmpvVeBHbbJ5shGA=";
14 vendorHash = "sha256-BF/F/siVIYJT4abOlwQjpnQpmNFdOo566VGPIo08PO0=";
16 ldflags = [ "-s" "-w" ];
20 subPackages = [ "cmd/omnictl" ];
22 nativeBuildInputs = [ installShellFiles ];
25 installShellCompletion --cmd omnictl \
26 --bash <($out/bin/omnictl completion bash) \
27 --fish <($out/bin/omnictl completion fish) \
28 --zsh <($out/bin/omnictl completion zsh)
31 doCheck = false; # no tests
34 description = "CLI for the Sidero Omni Kubernetes management platform";
35 mainProgram = "omnictl";
36 homepage = "https://omni.siderolabs.com/";
37 license = licenses.bsl11;
38 maintainers = with maintainers; [ raylas ];