nixpkgs/pkgs/servers/monitoring/prometheus/dnsmasq-exporter.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

28 lines
752 B
Nix

{ lib, buildGoModule, fetchFromGitHub, nixosTests }:
buildGoModule rec {
pname = "dnsmasq_exporter";
version = "unstable-2024-05-06";
src = fetchFromGitHub {
owner = "google";
repo = "dnsmasq_exporter";
rev = "03f84edc208fa88e31cf00533db42e7e0c9717ca";
hash = "sha256-YFQ4XO3vnj2Ka3D/LS5aG6WX+qOCVTlq5khDxLoQllo=";
};
vendorHash = "sha256-oD68TCNJKwjY3iwE/pUosMIMGOhsWj9cHC/+hq3xxI4=";
doCheck = false;
passthru.tests = { inherit (nixosTests.prometheus-exporters) dnsmasq; };
meta = with lib; {
inherit (src.meta) homepage;
description = "Dnsmasq exporter for Prometheus";
mainProgram = "dnsmasq_exporter";
license = licenses.asl20;
maintainers = with maintainers; [ willibutz globin ];
};
}