unpoller: add passthru.tests
This commit is contained in:
parent
fc9f1e2b48
commit
2a8977997a
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue