diff --git a/pkgs/servers/monitoring/prometheus/sabnzbd-exporter.nix b/pkgs/servers/monitoring/prometheus/sabnzbd-exporter.nix index 76d25734df93..05034b4b3327 100644 --- a/pkgs/servers/monitoring/prometheus/sabnzbd-exporter.nix +++ b/pkgs/servers/monitoring/prometheus/sabnzbd-exporter.nix @@ -1,4 +1,9 @@ -{ lib, fetchFromGitHub, python3Packages, nixosTests }: +{ + lib, + fetchFromGitHub, + python3Packages, + nixosTests, +}: python3Packages.buildPythonApplication rec { pname = "sabnzbd_exporter"; @@ -13,7 +18,10 @@ python3Packages.buildPythonApplication rec { hash = "sha256-BLqG2I7D/bqRj6+/LUKOimmTRTH/kRdukkGdOJT3+PA="; }; - propagatedBuildInputs = with python3Packages; [ prometheus-client requests ]; + propagatedBuildInputs = with python3Packages; [ + prometheus-client + requests + ]; installPhase = '' runHook preInstall @@ -27,7 +35,9 @@ python3Packages.buildPythonApplication rec { runHook postInstall ''; - passthru.tests = { inherit (nixosTests.prometheus-exporters) sabnzbd; }; + passthru.tests = { + inherit (nixosTests.prometheus-exporters) sabnzbd; + }; meta = with lib; { description = "Prometheus exporter for sabnzbd";