3
0
Fork 0
forked from mirrors/nixpkgs

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