Merge pull request #309308 from Nydragon/lollypop-bump-version-add-dep

lollypop: 1.4.37 -> 1.4.39 and add kid3 as buildinput
This commit is contained in:
Atemu 2024-05-06 11:33:55 +02:00 committed by GitHub
commit c26eaa2650
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -21,11 +21,12 @@
, wrapGAppsHook3 , wrapGAppsHook3
, lastFMSupport ? true , lastFMSupport ? true
, youtubeSupport ? true , youtubeSupport ? true
, kid3Support ? true
}: }:
python3.pkgs.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
pname = "lollypop"; pname = "lollypop";
version = "1.4.37"; version = "1.4.39";
format = "other"; format = "other";
@ -35,7 +36,7 @@ python3.pkgs.buildPythonApplication rec {
repo = pname; repo = pname;
rev = version; rev = version;
fetchSubmodules = true; fetchSubmodules = true;
sha256 = "sha256-3GPmGNbbSxvLq0t3F9q1x64BwNQCEvFQWLb0bSO9KUY="; sha256 = "sha256-VPHQwy2+XR9R7toIN5sNFB91ddROlL7Scr8AKLgUzuo=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -48,7 +49,8 @@ python3.pkgs.buildPythonApplication rec {
wrapGAppsHook3 wrapGAppsHook3
]; ];
buildInputs = with gst_all_1; [ buildInputs = with gst_all_1;
[
gdk-pixbuf gdk-pixbuf
glib glib
glib-networking glib-networking
@ -65,15 +67,11 @@ python3.pkgs.buildPythonApplication rec {
totem-pl-parser totem-pl-parser
] ++ lib.optional lastFMSupport libsecret; ] ++ lib.optional lastFMSupport libsecret;
propagatedBuildInputs = with python3.pkgs; [ propagatedBuildInputs = with python3.pkgs;
beautifulsoup4 [ beautifulsoup4 pillow pycairo pygobject3 ]
pillow
pycairo
pygobject3
]
++ lib.optional lastFMSupport pylast ++ lib.optional lastFMSupport pylast
++ lib.optional youtubeSupport youtube-dl ++ lib.optional youtubeSupport youtube-dl
; ++ lib.optional kid3Support pkgs.kid3;
postPatch = '' postPatch = ''
chmod +x meson_post_install.py chmod +x meson_post_install.py
@ -95,9 +93,7 @@ python3.pkgs.buildPythonApplication rec {
makeWrapperArgs+=("''${gappsWrapperArgs[@]}") makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
''; '';
passthru = { passthru = { updateScript = nix-update-script { }; };
updateScript = nix-update-script { };
};
meta = with lib; { meta = with lib; {
changelog = "https://gitlab.gnome.org/World/lollypop/tags/${version}"; changelog = "https://gitlab.gnome.org/World/lollypop/tags/${version}";