nixpkgs/pkgs/servers/monitoring/prometheus/bind-exporter.nix
Roosembert Palacios 8efd3bacc2
prometheus-bind-exporter: 0.4.0 -> 0.5.0
Signed-off-by: Roosembert Palacios <roosemberth@posteo.ch>
2022-01-11 07:45:39 +01:00

26 lines
720 B
Nix

{ lib, buildGoModule, fetchFromGitHub, nixosTests }:
buildGoModule rec {
pname = "bind_exporter";
version = "0.5.0";
src = fetchFromGitHub {
rev = "v${version}";
owner = "prometheus-community";
repo = "bind_exporter";
sha256 = "sha256-ta+uy0FUEMcL4SW1K3v2j2bfDRmdAIz42MKPsNj4FbA=";
};
vendorSha256 = "sha256-L0jZM83u423tiLf7kcqnXsQi7QBvNEXhuU+IwXXAhE0=";
passthru.tests = { inherit (nixosTests.prometheus-exporters) bind; };
meta = with lib; {
description = "Prometheus exporter for bind9 server";
homepage = "https://github.com/digitalocean/bind_exporter";
license = licenses.asl20;
maintainers = with maintainers; [ rtreffer ];
platforms = platforms.unix;
};
}