1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 04:02:10 +00:00

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
, 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}";