@@ -0,0 +1,23 @@
1+{ lib, buildGoModule, fetchFromGitHub }:
2+
3+buildGoModule rec {
4+ pname = "kubectl-tree";
5+ version = "0.4.1";
6+
7+ src = fetchFromGitHub {
8+ owner = "ahmetb";
9+ repo = pname;
10+ rev = "v${version}";
11+ sha256 = "sha256-5+INUr7ewSJrFwdhDgdrRu+xDB3FkWRjWbbVJO8cgkc=";
12+ };
13+
14+ vendorSha256 = "sha256-/GLzIoFHXpTmY2601zA83tB2V2XS0rWy1bEDQ6P6D8k=";
15+
16+ meta = with lib; {
17+ description = "kubectl plugin to browse Kubernetes object hierarchies as a tree";
18+ homepage = "https://github.com/ahmetb/kubectl-tree";
19+ changelog = "https://github.com/ahmetb/kubectl-tree/releases/tag/v${version}";
20+ license = licenses.asl20;
21+ maintainers = [ maintainers.ivankovnatsky ];
22+ };
23+}