forked from mirrors/nixpkgs
Merge pull request #204681 from Frostman/unpoller-passthru.tests
unpoller: add passthru.tests
This commit is contained in:
commit
cc6635027a
|
@ -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