1 { lib, buildGoModule, fetchFromGitHub, nixosTests }:
4 pname = "bind_exporter";
7 src = fetchFromGitHub {
9 owner = "prometheus-community";
10 repo = "bind_exporter";
11 sha256 = "sha256-x/XGatlXCKo9cI92JzFItApsjuZAfZX+8IZRpy7PVUo=";
14 vendorHash = "sha256-f0ei/zotOj5ebURAOWUox/7J3jS2abQ5UgjninI9nRk=";
16 passthru.tests = { inherit (nixosTests.prometheus-exporters) bind; };
19 description = "Prometheus exporter for bind9 server";
20 mainProgram = "bind_exporter";
21 homepage = "https://github.com/digitalocean/bind_exporter";
22 license = licenses.asl20;
23 maintainers = with maintainers; [ rtreffer ];