mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 17:33:09 +00:00
25 lines
713 B
Nix
25 lines
713 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "kubectl-tree";
|
|
version = "0.4.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ahmetb";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-J4/fiTECcTE0N2E+MPrQKE9Msvvm8DLdvLbnDUnUo74=";
|
|
};
|
|
|
|
vendorHash = "sha256-iblEfpYOvTjd3YXQ3Mmj5XckivHoXf4336H+F7NEfBA=";
|
|
|
|
meta = with lib; {
|
|
description = "kubectl plugin to browse Kubernetes object hierarchies as a tree";
|
|
mainProgram = "kubectl-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 ];
|
|
};
|
|
}
|