nixpkgs/pkgs/applications/networking/cluster/kubectl-tree/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
681 B
Nix
Raw Normal View History

2021-12-03 15:25:05 +00:00
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "kubectl-tree";
2022-10-27 11:46:44 +00:00
version = "0.4.3";
2021-12-03 15:25:05 +00:00
src = fetchFromGitHub {
owner = "ahmetb";
repo = pname;
rev = "v${version}";
2022-10-27 11:46:44 +00:00
sha256 = "sha256-J4/fiTECcTE0N2E+MPrQKE9Msvvm8DLdvLbnDUnUo74=";
2021-12-03 15:25:05 +00:00
};
2022-10-27 11:46:44 +00:00
vendorSha256 = "sha256-iblEfpYOvTjd3YXQ3Mmj5XckivHoXf4336H+F7NEfBA=";
2021-12-03 15:25:05 +00:00
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 ];
};
}