unpoller: add passthru.tests

This commit is contained in:
Sergey Lukjanov 2022-12-05 12:21:33 -08:00
parent fc9f1e2b48
commit 2a8977997a

View file

@ -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";