fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
32 lines
724 B
Nix
32 lines
724 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "kube-state-metrics";
|
|
version = "2.12.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "kubernetes";
|
|
repo = "kube-state-metrics";
|
|
rev = "v${version}";
|
|
hash = "sha256-EBSlufgzT4zgxTO5B0/RHHJJ2GgtU3U9ypd1QjC3knE=";
|
|
};
|
|
|
|
vendorHash = "sha256-A/oiFEWM3TOtk4V3xpehJ+5oKSyzYKZHVlp3wjykFRA=";
|
|
|
|
excludedPackages = [
|
|
"./tests/e2e"
|
|
"./tools"
|
|
];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/kubernetes/kube-state-metrics";
|
|
description = "Add-on agent to generate and expose k8s cluster-level metrics";
|
|
license = lib.licenses.asl20;
|
|
maintainers = [ lib.maintainers.eskytthe ];
|
|
platforms = lib.platforms.unix;
|
|
};
|
|
}
|