mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-04 03:53:56 +00:00
26 lines
718 B
Nix
26 lines
718 B
Nix
{ lib, buildGoModule, fetchFromGitHub, nixosTests }:
|
|
|
|
buildGoModule rec {
|
|
pname = "bind_exporter";
|
|
version = "0.6.1";
|
|
|
|
src = fetchFromGitHub {
|
|
rev = "v${version}";
|
|
owner = "prometheus-community";
|
|
repo = "bind_exporter";
|
|
sha256 = "sha256-qyTfo4Pkp07v575p7SePwe/OfCZRVuHKGyaEQQOkYjk=";
|
|
};
|
|
|
|
vendorHash = "sha256-ZQKQY7budLH6eAusLMwSF5cLJ6QdiXLJc29xJk+XBxI=";
|
|
|
|
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;
|
|
};
|
|
}
|