blob: f891fdaeb856f4b214859020f4fa00581b9e6008 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
{ 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 = "A dnsmasq exporter for Prometheus";
mainProgram = "dnsmasq_exporter";
license = licenses.asl20;
maintainers = with maintainers; [ willibutz globin ];
};
}
|