summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/networking/cluster/kubespy
diff options
context:
space:
mode:
authorDavid Arnold <dar@xoe.solutions>2020-07-03 12:42:29 -0500
committerJon <jonringer@users.noreply.github.com>2020-07-05 21:39:22 -0700
commite1b48ea8eaefbe9490feaf9cbcbf3d31a16c21fc (patch)
treedfae28ef3e653a7df95b835ef6f2a2dbfa0bd826 /pkgs/applications/networking/cluster/kubespy
parent2f8206ea976b7bd5b8a8b43bbd33d946fa28c12c (diff)
kubespy: init at 0.5.1
A tool to observe Kubernetes resources in real time. This is uesful, among others, for "staffing" shell.nix environments for k8s projects.
Diffstat (limited to 'pkgs/applications/networking/cluster/kubespy')
-rw-r--r--pkgs/applications/networking/cluster/kubespy/default.nix31
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/applications/networking/cluster/kubespy/default.nix b/pkgs/applications/networking/cluster/kubespy/default.nix
new file mode 100644
index 000000000000..6b08f43589c6
--- /dev/null
+++ b/pkgs/applications/networking/cluster/kubespy/default.nix
@@ -0,0 +1,31 @@
+{ lib, buildGoModule, fetchFromGitHub, installShellFiles }:
+
+buildGoModule rec {
+ pname = "kubespy";
+ version = "0.5.1";
+
+ src = fetchFromGitHub {
+ rev = "v${version}";
+ owner = "pulumi";
+ repo = "kubespy";
+ sha256 = "1p0qmn6458pa9la6zkvyrkgs2rhzfwsk9m3rk5fkmcfbh7b031r8";
+ };
+
+ vendorSha256 = "0q85is01cbgxflnqdvxc9w5iqdizgvsc44h8z21j712bm2w7blqq";
+
+ # 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;
+ };
+}