1 { lib, buildGo122Module, fetchFromGitHub, nixosTests }:
4 pname = "dnsmasq_exporter";
7 src = fetchFromGitHub {
9 repo = "dnsmasq_exporter";
11 hash = "sha256-2sOOJWEEseWwozIyZ7oes400rBjlxIrOOtkP3rSNFXo=";
14 vendorHash = "sha256-oD68TCNJKwjY3iwE/pUosMIMGOhsWj9cHC/+hq3xxI4=";
18 passthru.tests = { inherit (nixosTests.prometheus-exporters) dnsmasq; };
21 inherit (src.meta) homepage;
22 description = "Dnsmasq exporter for Prometheus";
23 mainProgram = "dnsmasq_exporter";
24 license = licenses.asl20;
25 maintainers = with maintainers; [ willibutz globin ];