Merge pull request #204681 from Frostman/unpoller-passthru.tests

unpoller: add passthru.tests
This commit is contained in:
Luke Granger-Brown
2022-12-05 12:44:09 -08:00
committed by GitHub
@@ -1,6 +1,7 @@
{ lib
, buildGoModule
, fetchFromGitHub
, nixosTests
}:
buildGoModule rec {
@@ -24,6 +25,8 @@ buildGoModule rec {
"-X github.com/prometheus/common/version.Version=${version}-0"
];
passthru.tests = { inherit (nixosTests.prometheus-exporters) unpoller; };
meta = with lib; {
description = "Collect ALL UniFi Controller, Site, Device & Client Data - Export to InfluxDB or Prometheus";
homepage = "https://github.com/unpoller/unpoller";