mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 02:42:59 +00:00
33 lines
724 B
Nix
33 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;
|
|
};
|
|
}
|