nixos/tests/prometheus-exporters.kea: init

This commit is contained in:
Martin Weinelt
2021-05-14 14:09:19 +02:00
parent bc4a80979b
commit dd7e1834ca
2 changed files with 56 additions and 1 deletions
@@ -1,4 +1,4 @@
{ lib, python3Packages }:
{ lib, python3Packages, nixosTests }:
python3Packages.buildPythonApplication rec {
pname = "kea-exporter";
@@ -19,6 +19,10 @@ python3Packages.buildPythonApplication rec {
$out/bin/kea-exporter --version | grep -q ${version}
'';
passthru.tests = {
inherit (nixosTests.prometheus-exporters) kea;
};
meta = with lib; {
description = "Export Kea Metrics in the Prometheus Exposition Format";
homepage = "https://github.com/mweinelt/kea-exporter";