prometheus-knot-exporter: reference vm test

This commit is contained in:
WilliButz 2021-03-11 18:39:17 +01:00
parent 43c560fc4b
commit c62eef5675
No known key found for this signature in database
GPG Key ID: 92582A10F1179CB2

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, lib, python3 }: { stdenv, fetchFromGitHub, lib, python3, nixosTests }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "knot-exporter"; pname = "knot-exporter";
@ -27,6 +27,8 @@ stdenv.mkDerivation rec {
runHook postInstall runHook postInstall
''; '';
passthru.tests = { inherit (nixosTests.prometheus-exporters) knot; };
meta = with lib; { meta = with lib; {
homepage = "https://github.com/ghedo/knot_exporter"; homepage = "https://github.com/ghedo/knot_exporter";
description = " Prometheus exporter for Knot DNS"; description = " Prometheus exporter for Knot DNS";