Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
45 lines
932 B
Nix
45 lines
932 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
installShellFiles,
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "kubespy";
|
|
version = "0.6.3";
|
|
|
|
src = fetchFromGitHub {
|
|
rev = "v${version}";
|
|
owner = "pulumi";
|
|
repo = "kubespy";
|
|
sha256 = "sha256-l/vOIFvCQHq+gOr38SpVZ8ShZdI1bP4G5PY4hKhkCU0=";
|
|
};
|
|
|
|
vendorHash = "sha256-4q+eFMrcZsEdk1W7aorIrfS3oVAuD4V0KQ7oJ/5d8nk=";
|
|
|
|
nativeBuildInputs = [ installShellFiles ];
|
|
|
|
doCheck = false;
|
|
|
|
ldflags = [
|
|
"-X"
|
|
"github.com/pulumi/kubespy/version.Version=${version}"
|
|
];
|
|
|
|
postInstall = ''
|
|
for shell in bash fish zsh; do
|
|
$out/bin/kubespy completion $shell > kubespy.$shell
|
|
installShellCompletion kubespy.$shell
|
|
done
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Tool to observe Kubernetes resources in real time";
|
|
mainProgram = "kubespy";
|
|
homepage = "https://github.com/pulumi/kubespy";
|
|
license = licenses.asl20;
|
|
maintainers = [ ];
|
|
};
|
|
}
|