prometheus-sabnzbd-exporter: Add nixosTests to passthru.tests

This commit is contained in:
Fugi 2024-11-22 17:35:00 +01:00
parent 0b8c0c5467
commit 8ed6119fbb
No known key found for this signature in database
GPG Key ID: 4472A20091BFA792

View File

@ -1,4 +1,4 @@
{ lib, fetchFromGitHub, python3Packages }:
{ lib, fetchFromGitHub, python3Packages, nixosTests }:
python3Packages.buildPythonApplication rec {
pname = "sabnzbd_exporter";
@ -27,6 +27,8 @@ python3Packages.buildPythonApplication rec {
runHook postInstall
'';
passthru.tests = { inherit (nixosTests.prometheus-exporters) sabnzbd; };
meta = with lib; {
description = "Prometheus exporter for sabnzbd";
homepage = "https://github.com/msroest/sabnzbd_exporter";