depot/third_party/nixpkgs/pkgs/by-name/ku/kube-state-metrics/package.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

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;
};
}