prometheus-sabnzbd-exporter: Add nixosTests to passthru.tests
This commit is contained in:
parent
0b8c0c5467
commit
8ed6119fbb
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user