netdata-go-plugins: add netdata test to passthru
This commit is contained in:
parent
bd2b3ec62b
commit
a0753a8b4b
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue