2021-03-04 13:54:50 +01:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2021-02-16 07:29:44 +01:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "kube-capacity";
|
2023-01-20 22:53:29 +01:00
|
|
|
version = "0.7.3";
|
2021-02-16 07:29:44 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
rev = "v${version}";
|
|
|
|
owner = "robscott";
|
|
|
|
repo = pname;
|
2023-01-20 22:53:29 +01:00
|
|
|
sha256 = "sha256-lNpUOA6O9sOBugYp9fDklKo6U2E0nKz1ORr3qO2tibg=";
|
2021-02-16 07:29:44 +01:00
|
|
|
};
|
|
|
|
|
2023-01-20 22:53:29 +01:00
|
|
|
vendorHash = "sha256-qfSya42wZEmJCC7o8zJQEv0BWrxTuBT2Jzcq/AfI+OE=";
|
2021-02-16 07:29:44 +01: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 ];
|
|
|
|
};
|
|
|
|
}
|