about summary refs log tree commit diff
path: root/pkgs/applications/audio/lollypop
diff options
context:
space:
mode:
authorNydragon <contact@ccnlc.eu>2024-05-06 13:22:29 +0900
committerNydragon <contact@ccnlc.eu>2024-05-06 13:22:29 +0900
commit931964e3009f8ced440076223717acd0a3bc2f42 (patch)
tree56dc4510a6d1d5207edaf62620620172833f8776 /pkgs/applications/audio/lollypop
parenta0c9e3aee1000ac2bfb0e5b98c94c946a5d180a9 (diff)
lollypop: format file
Diffstat (limited to 'pkgs/applications/audio/lollypop')
-rw-r--r--pkgs/applications/audio/lollypop/default.nix52
1 files changed, 23 insertions, 29 deletions
diff --git a/pkgs/applications/audio/lollypop/default.nix b/pkgs/applications/audio/lollypop/default.nix
index 34dbf0318a71c..414d3fa144c89 100644
--- a/pkgs/applications/audio/lollypop/default.nix
+++ b/pkgs/applications/audio/lollypop/default.nix
@@ -23,7 +23,7 @@
 , youtubeSupport ? true
 }:
 
-python3.pkgs.buildPythonApplication rec  {
+python3.pkgs.buildPythonApplication rec {
   pname = "lollypop";
   version = "1.4.37";
 
@@ -48,32 +48,28 @@ python3.pkgs.buildPythonApplication rec  {
     wrapGAppsHook
   ];
 
-  buildInputs = with gst_all_1; [
-    gdk-pixbuf
-    glib
-    glib-networking
-    gst-libav
-    gst-plugins-bad
-    gst-plugins-base
-    gst-plugins-good
-    gst-plugins-ugly
-    gstreamer
-    gtk3
-    libhandy
-    libsoup_3
-    pango
-    totem-pl-parser
-  ] ++ lib.optional lastFMSupport libsecret;
+  buildInputs = with gst_all_1;
+    [
+      gdk-pixbuf
+      glib
+      glib-networking
+      gst-libav
+      gst-plugins-bad
+      gst-plugins-base
+      gst-plugins-good
+      gst-plugins-ugly
+      gstreamer
+      gtk3
+      libhandy
+      libsoup_3
+      pango
+      totem-pl-parser
+    ] ++ lib.optional lastFMSupport libsecret;
 
-  propagatedBuildInputs = with python3.pkgs; [
-    beautifulsoup4
-    pillow
-    pycairo
-    pygobject3
-  ]
-  ++ lib.optional lastFMSupport pylast
-  ++ lib.optional youtubeSupport youtube-dl
-  ;
+  propagatedBuildInputs = with python3.pkgs;
+    [ beautifulsoup4 pillow pycairo pygobject3 ]
+    ++ lib.optional lastFMSupport pylast
+    ++ lib.optional youtubeSupport youtube-dl;
 
   postPatch = ''
     chmod +x meson_post_install.py
@@ -95,9 +91,7 @@ python3.pkgs.buildPythonApplication rec  {
     makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
   '';
 
-  passthru = {
-    updateScript = nix-update-script { };
-  };
+  passthru = { updateScript = nix-update-script { }; };
 
   meta = with lib; {
     changelog = "https://gitlab.gnome.org/World/lollypop/tags/${version}";