24 lines
742 B
Nix
24 lines
742 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "kube-capacity";
|
|
version = "0.7.3";
|
|
|
|
src = fetchFromGitHub {
|
|
rev = "v${version}";
|
|
owner = "robscott";
|
|
repo = pname;
|
|
sha256 = "sha256-lNpUOA6O9sOBugYp9fDklKo6U2E0nKz1ORr3qO2tibg=";
|
|
};
|
|
|
|
vendorHash = "sha256-qfSya42wZEmJCC7o8zJQEv0BWrxTuBT2Jzcq/AfI+OE=";
|
|
|
|
meta = with lib; {
|
|
description =
|
|
"A simple CLI that provides an overview of the resource requests, limits, and utilization in a Kubernetes cluster";
|
|
homepage = "https://github.com/robscott/kube-capacity";
|
|
changelog = "https://github.com/robscott/kube-capacity/releases/tag/v${version}";
|
|
license = licenses.asl20;
|
|
maintainers = [ maintainers.bryanasdev000 ];
|
|
};
|
|
}
|