about summary refs log tree commit diff
path: root/pkgs/applications/networking
diff options
context:
space:
mode:
authorIvan Kovnatsky <75213+ivankovnatsky@users.noreply.github.com>2021-12-03 17:25:05 +0200
committerIvan Kovnatsky <75213+ivankovnatsky@users.noreply.github.com>2021-12-03 18:45:26 +0200
commitc6f74caab555adaf9ba140cd37cb433b6a1cc471 (patch)
tree02b60f7278719944b244d06a9bafc65b587ce0b2 /pkgs/applications/networking
parentaac7065c8dc5380445193806bde90628987d9def (diff)
kubectl-tree: init at 0.4.1
Diffstat (limited to 'pkgs/applications/networking')
-rw-r--r--pkgs/applications/networking/cluster/kubectl-tree/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/applications/networking/cluster/kubectl-tree/default.nix b/pkgs/applications/networking/cluster/kubectl-tree/default.nix
new file mode 100644
index 0000000000000..5a69eb186ad71
--- /dev/null
+++ b/pkgs/applications/networking/cluster/kubectl-tree/default.nix
@@ -0,0 +1,23 @@
+{ lib, buildGoModule, fetchFromGitHub }:
+
+buildGoModule rec {
+  pname = "kubectl-tree";
+  version = "0.4.1";
+
+  src = fetchFromGitHub {
+    owner = "ahmetb";
+    repo = pname;
+    rev = "v${version}";
+    sha256 = "sha256-5+INUr7ewSJrFwdhDgdrRu+xDB3FkWRjWbbVJO8cgkc=";
+  };
+
+  vendorSha256 = "sha256-/GLzIoFHXpTmY2601zA83tB2V2XS0rWy1bEDQ6P6D8k=";
+
+  meta = with lib; {
+    description = "kubectl plugin to browse Kubernetes object hierarchies as a tree";
+    homepage = "https://github.com/ahmetb/kubectl-tree";
+    changelog = "https://github.com/ahmetb/kubectl-tree/releases/tag/v${version}";
+    license = licenses.asl20;
+    maintainers = [ maintainers.ivankovnatsky ];
+  };
+}