Unverified Commit c26eaa26 authored by Atemu's avatar Atemu Committed by GitHub
Browse files

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

lollypop: 1.4.37 -> 1.4.39 and add kid3 as buildinput
parents 04978954 93ecf949
Loading
Loading
Loading
Loading
+27 −31
Original line number Diff line number Diff line
@@ -21,11 +21,12 @@
, wrapGAppsHook3
, lastFMSupport ? true
, youtubeSupport ? true
, kid3Support ? true
}:

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,7 +49,8 @@ python3.pkgs.buildPythonApplication rec {
    wrapGAppsHook3
  ];

  buildInputs = with gst_all_1; [
  buildInputs = with gst_all_1;
    [
      gdk-pixbuf
      glib
      glib-networking
@@ -65,15 +67,11 @@ python3.pkgs.buildPythonApplication rec {
      totem-pl-parser
    ] ++ lib.optional lastFMSupport libsecret;

  propagatedBuildInputs = with python3.pkgs; [
    beautifulsoup4
    pillow
    pycairo
    pygobject3
  ]
  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}";