This patch was produced in Vim by me, a human being. All errors are the fault of the operator. I did try to be careful. Co-authored-by: Peder Bergebakken Sundt <pbsds@hotmail.com> Co-authored-by: dotlambda <nix@dotlambda.de>
29 lines
784 B
Nix
29 lines
784 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "kube-capacity";
|
|
version = "0.8.0";
|
|
|
|
src = fetchFromGitHub {
|
|
rev = "v${version}";
|
|
owner = "robscott";
|
|
repo = "kube-capacity";
|
|
sha256 = "sha256-zAwCz4Qs1OF/CdSmy9p4X9hL9iNkAH/EeSU2GgekzV8=";
|
|
};
|
|
|
|
vendorHash = "sha256-YME4AXpHvr1bNuc/HoHxam+7ZkwLzjhIvFSfD4hga1A=";
|
|
|
|
meta = {
|
|
description = "Simple CLI that provides an overview of the resource requests, limits, and utilization in a Kubernetes cluster";
|
|
mainProgram = "kube-capacity";
|
|
homepage = "https://github.com/robscott/kube-capacity";
|
|
changelog = "https://github.com/robscott/kube-capacity/releases/tag/v${version}";
|
|
license = lib.licenses.asl20;
|
|
maintainers = [ lib.maintainers.bryanasdev000 ];
|
|
};
|
|
}
|