prometheus-sabnzbd-exporter: format with nixfmt-rfc-style
This commit is contained in:
parent
8ed6119fbb
commit
9bd6a6b497
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user