Files
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

39 lines
855 B
Nix

{
lib,
buildGoModule,
fetchFromGitHub,
nix-update-script,
nixosTests,
}:
buildGoModule rec {
pname = "prometheus-klipper-exporter";
version = "0.13.0";
src = fetchFromGitHub {
owner = "scross01";
repo = "prometheus-klipper-exporter";
rev = "v${version}";
sha256 = "sha256-zNRjD2YO7OfcNXF5pukXChxhC5LB88C1EKfiMreMzTs=";
};
vendorHash = "sha256-0nbLHZ2WMLMK0zKZuUYz355K01Xspn9svmlFCtQjed0=";
doCheck = true;
passthru = {
tests = {
inherit (nixosTests.prometheus-exporters) process;
};
updateScript = nix-update-script { };
};
meta = with lib; {
description = "Prometheus Exporter for Klipper";
homepage = "https://github.com/scross01/prometheus-klipper-exporter";
license = licenses.mit;
maintainers = with maintainers; [ wulfsta ];
platforms = platforms.linux;
};
}