3
0
Fork 0
forked from mirrors/nixpkgs

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
commit cc6635027a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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