diff --git a/pkgs/applications/audio/lollypop/default.nix b/pkgs/applications/audio/lollypop/default.nix index 129c90745e81..1b833425610d 100644 --- a/pkgs/applications/audio/lollypop/default.nix +++ b/pkgs/applications/audio/lollypop/default.nix @@ -21,11 +21,12 @@ , wrapGAppsHook3 , lastFMSupport ? true , youtubeSupport ? true +, kid3Support ? true }: -python3.pkgs.buildPythonApplication rec { +python3.pkgs.buildPythonApplication rec { pname = "lollypop"; - version = "1.4.37"; + version = "1.4.39"; format = "other"; @@ -35,7 +36,7 @@ python3.pkgs.buildPythonApplication rec { repo = pname; rev = version; fetchSubmodules = true; - sha256 = "sha256-3GPmGNbbSxvLq0t3F9q1x64BwNQCEvFQWLb0bSO9KUY="; + sha256 = "sha256-VPHQwy2+XR9R7toIN5sNFB91ddROlL7Scr8AKLgUzuo="; }; nativeBuildInputs = [ @@ -48,32 +49,29 @@ python3.pkgs.buildPythonApplication rec { wrapGAppsHook3 ]; - 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 + ++ lib.optional kid3Support pkgs.kid3; postPatch = '' chmod +x meson_post_install.py @@ -95,9 +93,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}";