159e378cbb
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
32 lines
724 B
Nix
32 lines
724 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "kube-state-metrics";
|
|
version = "2.13.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "kubernetes";
|
|
repo = "kube-state-metrics";
|
|
rev = "v${version}";
|
|
hash = "sha256-7lI1RRC/Lw3OcYs3RA3caNvLYS7xEaCoxCM/ioa0goY=";
|
|
};
|
|
|
|
vendorHash = "sha256-Db7GTIC594yfp9gNn+hochpafqiRkLQIM/MTkX2S6E0=";
|
|
|
|
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;
|
|
};
|
|
}
|