diff options
Diffstat (limited to 'pkgs/servers/monitoring/prometheus/xmpp-alerts.nix')
-rw-r--r-- | pkgs/servers/monitoring/prometheus/xmpp-alerts.nix | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/pkgs/servers/monitoring/prometheus/xmpp-alerts.nix b/pkgs/servers/monitoring/prometheus/xmpp-alerts.nix index e38466df6e6..437856c0350 100644 --- a/pkgs/servers/monitoring/prometheus/xmpp-alerts.nix +++ b/pkgs/servers/monitoring/prometheus/xmpp-alerts.nix @@ -2,6 +2,7 @@ , fetchFromGitHub , python3Packages , prometheus-alertmanager +, unittestCheckHook }: python3Packages.buildPythonApplication rec { @@ -25,13 +26,10 @@ python3Packages.buildPythonApplication rec { ]); checkInputs = with python3Packages; [ + unittestCheckHook pytz ]; - checkPhase = '' - ${python3Packages.python.interpreter} -m unittest discover - ''; - meta = { description = "XMPP Web hook for Prometheus"; homepage = "https://github.com/jelmer/prometheus-xmpp-alerts"; |