2020-07-03 19:42:29 +02:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub, installShellFiles }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "kubespy";
|
2020-10-18 18:43:52 +02:00
|
|
|
version = "0.6.0";
|
2020-07-03 19:42:29 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
rev = "v${version}";
|
|
|
|
owner = "pulumi";
|
|
|
|
repo = "kubespy";
|
2020-10-18 18:43:52 +02:00
|
|
|
sha256 = "1xrwhxw2y0zpzsxp1rlm1wd0aqw6jda5ai5y1ards5djqsbsv87g";
|
2020-07-03 19:42:29 +02:00
|
|
|
};
|
2020-07-31 05:58:04 +02:00
|
|
|
|
2020-10-18 18:43:52 +02:00
|
|
|
vendorSha256 = "0ajhbjs9ijpxp3svvj7pjiac78ps7vkqmqrizq18mllsry0m9pcl";
|
2020-07-31 05:58:04 +02:00
|
|
|
|
2020-08-04 02:26:27 +02:00
|
|
|
doCheck = false;
|
|
|
|
|
2020-07-03 19:42:29 +02:00
|
|
|
# TODO: enable after https://github.com/pulumi/kubespy/issues/72 is addressed.
|
|
|
|
# postInstall = ''
|
|
|
|
# for shell in bash zsh; do
|
|
|
|
# $out/bin/kubespy completion $shell > kubespy.$shell
|
|
|
|
# installShellCompletion kubespy.$shell
|
|
|
|
# done
|
|
|
|
# '';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A tool to observe Kubernetes resources in real time";
|
|
|
|
homepage = "https://github.com/pulumi/kubespy";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ blaggacao ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|