about summary refs log tree commit diff
path: root/pkgs/development/python-modules/apcaccess
diff options
context:
space:
mode:
authorMartin Weinelt <hexa@darmstadt.ccc.de>2024-05-22 16:01:06 +0200
committerMartin Weinelt <hexa@darmstadt.ccc.de>2024-05-22 17:32:03 +0200
commit59b1aef59071cae6e87859dc65de973d2cc595c0 (patch)
tree18c3aaf31188cb7430359a1bb130d637a363351e /pkgs/development/python-modules/apcaccess
parent691216eca3d0ce5ad6ac10562e75910fa02415b0 (diff)
python3Packages: format with nixfmt
Diffstat (limited to 'pkgs/development/python-modules/apcaccess')
-rw-r--r--pkgs/development/python-modules/apcaccess/default.nix17
1 files changed, 7 insertions, 10 deletions
diff --git a/pkgs/development/python-modules/apcaccess/default.nix b/pkgs/development/python-modules/apcaccess/default.nix
index b93a91c3090ba..5fb60a8c6f82c 100644
--- a/pkgs/development/python-modules/apcaccess/default.nix
+++ b/pkgs/development/python-modules/apcaccess/default.nix
@@ -1,7 +1,8 @@
-{ lib
-, buildPythonPackage
-, fetchFromGitHub
-, pytestCheckHook
+{
+  lib,
+  buildPythonPackage,
+  fetchFromGitHub,
+  pytestCheckHook,
 }:
 
 buildPythonPackage rec {
@@ -21,13 +22,9 @@ buildPythonPackage rec {
       --replace "setup_requires='pytest-runner'," ""
   '';
 
-  pythonImportsCheck = [
-    "apcaccess"
-  ];
+  pythonImportsCheck = [ "apcaccess" ];
 
-  nativeCheckInputs = [
-    pytestCheckHook
-  ];
+  nativeCheckInputs = [ pytestCheckHook ];
 
   meta = with lib; {
     description = "Library offers programmatic access to the status information provided by apcupsd over its Network Information Server";