diff options
Diffstat (limited to 'nixpkgs/pkgs/servers/monitoring/prometheus/dnsmasq-exporter.nix')
-rw-r--r-- | nixpkgs/pkgs/servers/monitoring/prometheus/dnsmasq-exporter.nix | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/nixpkgs/pkgs/servers/monitoring/prometheus/dnsmasq-exporter.nix b/nixpkgs/pkgs/servers/monitoring/prometheus/dnsmasq-exporter.nix index 43c63e24dfc..6f2fe462a46 100644 --- a/nixpkgs/pkgs/servers/monitoring/prometheus/dnsmasq-exporter.nix +++ b/nixpkgs/pkgs/servers/monitoring/prometheus/dnsmasq-exporter.nix @@ -1,4 +1,4 @@ -{ stdenv, buildGoModule, fetchFromGitHub }: +{ stdenv, buildGoModule, fetchFromGitHub, nixosTests }: buildGoModule rec { pname = "dnsmasq_exporter"; @@ -13,10 +13,14 @@ buildGoModule rec { vendorSha256 = "1dqpa180pbdi2gcmp991d4cry560mx5rm5l9x065s9n9gnd38hvl"; + doCheck = false; + + passthru.tests = { inherit (nixosTests.prometheus-exporters) dnsmasq; }; + meta = with stdenv.lib; { inherit (src.meta) homepage; description = "A dnsmasq exporter for Prometheus"; license = licenses.asl20; maintainers = with maintainers; [ willibutz globin ma27 ]; }; -}
\ No newline at end of file +} |