about summary refs log tree commit diff
path: root/pkgs/by-name/i3
diff options
context:
space:
mode:
authorlucasew2024-07-15 14:52:27 -0300
committerlucasew2024-07-15 14:52:27 -0300
commitfce975cf98ab0e4199f0d7afd704889a3b7d21d8 (patch)
tree3a50622b2210995dfb195ca3496c623158c3e6b3 /pkgs/by-name/i3
parent4613bc2e2af2aef58ea82f40950527367f036d82 (diff)
i3pystatus: nixfmt-rfc-style
Signed-off-by: lucasew <lucas59356@gmail.com>
Diffstat (limited to 'pkgs/by-name/i3')
-rw-r--r--pkgs/by-name/i3/i3pystatus/package.nix54
1 files changed, 35 insertions, 19 deletions
diff --git a/pkgs/by-name/i3/i3pystatus/package.nix b/pkgs/by-name/i3/i3pystatus/package.nix
index b3a9e75b6fcb..b2655e34beea 100644
--- a/pkgs/by-name/i3/i3pystatus/package.nix
+++ b/pkgs/by-name/i3/i3pystatus/package.nix
@@ -1,12 +1,14 @@
-{ lib
-, fetchFromGitHub
-, libpulseaudio
-, libnotify
-, gobject-introspection
-, python3Packages
-, unstableGitUpdater
-, fetchpatch
-, extraLibs ? [] }:
+{
+  lib,
+  fetchFromGitHub,
+  libpulseaudio,
+  libnotify,
+  gobject-introspection,
+  python3Packages,
+  unstableGitUpdater,
+  fetchpatch,
+  extraLibs ? [ ],
+}:
 
 python3Packages.buildPythonApplication rec {
   # i3pystatus moved to rolling release:
@@ -39,18 +41,29 @@ python3Packages.buildPythonApplication rec {
     libnotify
   ];
 
-  checkInputs = [
-    python3Packages.requests
-  ];
+  checkInputs = [ python3Packages.requests ];
 
-  propagatedBuildInputs = with python3Packages; [
-    keyring colour netifaces psutil basiciw pygobject3
-  ] ++ extraLibs;
+  propagatedBuildInputs =
+    with python3Packages;
+    [
+      keyring
+      colour
+      netifaces
+      psutil
+      basiciw
+      pygobject3
+    ]
+    ++ extraLibs;
 
   makeWrapperArgs = [
     # LC_TIME != C results in locale.Error: unsupported locale setting
-    "--set" "LC_TIME" "C"
-    "--suffix" "LD_LIBRARY_PATH" ":" "${lib.makeLibraryPath [ libpulseaudio ]}"
+    "--set"
+    "LC_TIME"
+    "C"
+    "--suffix"
+    "LD_LIBRARY_PATH"
+    ":"
+    "${lib.makeLibraryPath [ libpulseaudio ]}"
   ];
 
   postPatch = ''
@@ -63,7 +76,7 @@ python3Packages.buildPythonApplication rec {
       ''${makeWrapperArgs[@]}
   '';
 
-  passthru.updateScript = unstableGitUpdater {};
+  passthru.updateScript = unstableGitUpdater { };
 
   meta = with lib; {
     mainProgram = "i3pystatus";
@@ -75,6 +88,9 @@ python3Packages.buildPythonApplication rec {
     '';
     license = licenses.mit;
     platforms = platforms.linux;
-    maintainers = [ maintainers.igsha maintainers.lucasew ];
+    maintainers = [
+      maintainers.igsha
+      maintainers.lucasew
+    ];
   };
 }