forked from mirrors/nixpkgs
prometheus-knot-exporter: reference vm test
This commit is contained in:
parent
43c560fc4b
commit
c62eef5675
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue