prometheus-slurm-exporter: init at 0.20 (#417482)

This commit is contained in:
Aleksana
2025-06-25 15:32:58 +08:00
committed by GitHub
@@ -0,0 +1,30 @@
{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule (finalAttrs: {
pname = "prometheus-slurm-exporter";
version = "0.20";
src = fetchFromGitHub {
owner = "vpenso";
repo = "prometheus-slurm-exporter";
tag = finalAttrs.version;
hash = "sha256-KS9LoDuLQFq3KoKpHd8vg1jw20YCNRJNJrnBnu5vxvs=";
};
vendorHash = "sha256-A1dd9T9SIEHDCiVT2UwV6T02BSLh9ej6LC/2l54hgwI=";
# Needs a working slurm environment during test
doCheck = false;
meta = {
description = "Prometheus exporter for performance metrics from Slurm";
homepage = "https://github.com/vpenso/prometheus-slurm-exporter";
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ jherland ];
mainProgram = "prometheus-slurm-exporter";
};
})