2021-03-04 12:54:50 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2021-02-16 06:29:44 +00:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "kube-capacity";
|
2022-01-11 16:24:33 +00:00
|
|
|
version = "0.7.0";
|
2021-02-16 06:29:44 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
rev = "v${version}";
|
|
|
|
owner = "robscott";
|
|
|
|
repo = pname;
|
2022-01-11 16:24:33 +00:00
|
|
|
sha256 = "sha256-jop1dn+D0A6BkR1UCMrU9qcbZ1AHVth430cTd+kUYJw=";
|
2021-02-16 06:29:44 +00:00
|
|
|
};
|
|
|
|
|
2022-01-31 18:47:14 +00:00
|
|
|
vendorSha256 = "sha256-PkCUwe3S1bq37ME2WyTUnwEcbnFcNI0eaI9yW/HZ1uw=";
|
2021-02-16 06:29:44 +00:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|