nixos/tests/prometheus-exporters: add unbound test
Author: WilliButz <willibutz@posteo.de>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ lib, rustPlatform, fetchFromGitHub, openssl, pkg-config }:
|
||||
{ lib, rustPlatform, fetchFromGitHub, openssl, pkg-config, nixosTests }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "unbound-telemetry";
|
||||
@@ -17,6 +17,10 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
buildInputs = [ openssl ];
|
||||
|
||||
passthru.tests = {
|
||||
inherit (nixosTests.prometheus-exporters) unbound;
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Prometheus exporter for Unbound DNS resolver";
|
||||
homepage = "https://github.com/svartalf/unbound-telemetry";
|
||||
|
||||
Reference in New Issue
Block a user