telegraf: reference nixosTests

This commit is contained in:
Jörg Thalheim 2020-01-28 14:08:38 +00:00
parent cd78ddaaeb
commit 0218f30af5
No known key found for this signature in database
GPG key ID: 003F2096411B5F92

View file

@ -1,4 +1,4 @@
{ lib, buildGoPackage, fetchFromGitHub }:
{ lib, buildGoPackage, fetchFromGitHub, nixosTests }:
buildGoPackage rec {
pname = "telegraf";
@ -21,6 +21,8 @@ buildGoPackage rec {
-w -s -X main.version=${version}
'' ];
passthru.tests = { inherit (nixosTests) telegraf; };
goDeps = ./deps.nix;
meta = with lib; {