netdata-go-plugins: add netdata test to passthru

This commit is contained in:
Mario Rodas 2023-03-18 04:20:00 +00:00
parent bd2b3ec62b
commit a0753a8b4b

View file

@ -1,4 +1,5 @@
{ lib, fetchFromGitHub, buildGoModule }:
{ lib, fetchFromGitHub, buildGoModule, nixosTests }:
buildGoModule rec {
pname = "netdata-go-plugins";
version = "0.51.4";
@ -21,6 +22,8 @@ buildGoModule rec {
cp -r config/* $out/lib/netdata/conf.d
'';
passthru.tests = { inherit (nixosTests) netdata; };
meta = with lib; {
description = "Netdata orchestrator for data collection modules written in go";
homepage = "https://github.com/netdata/go.d.plugin";