9 pname = "apcupsd-exporter";
12 src = fetchFromGitHub {
14 repo = "apcupsd_exporter";
16 sha256 = "sha256-c0LsUqpJbmWQmbmSGdEy7Bbk20my6iWNLeqtU5BjYlw=";
19 vendorHash = "sha256-bvLwHLviIAGmxYY1O0wFDWAMginEUklicrbjIbbPuUw=";
21 passthru.tests = { inherit (nixosTests.prometheus-exporters) apcupsd; };
24 description = "Provides a Prometheus exporter for the apcupsd Network Information Server (NIS)";
25 mainProgram = "apcupsd_exporter";
26 homepage = "https://github.com/mdlayher/apcupsd_exporter";
27 license = licenses.mit;
28 maintainers = with maintainers; [