diff --git a/pkgs/applications/audio/quodlibet/default.nix b/pkgs/applications/audio/quodlibet/default.nix index 9830084fa41..386a5110a81 100644 --- a/pkgs/applications/audio/quodlibet/default.nix +++ b/pkgs/applications/audio/quodlibet/default.nix @@ -16,6 +16,8 @@ python3.pkgs.buildPythonApplication rec { sha256 = "1q17ckblfa4fcs7wsjwsq1dj7360ymrdyjkyqmj864wzlqkw1rd2"; }; + patches = [ ./quodlibet-feedparser6.patch ]; + nativeBuildInputs = [ wrapGAppsHook gettext ]; checkInputs = [ gdk-pixbuf hicolor-icon-theme ] ++ (with python3.pkgs; [ pytest pytest_xdist polib xvfb_run dbus.daemon glibcLocales ]); diff --git a/pkgs/applications/audio/quodlibet/quodlibet-feedparser6.patch b/pkgs/applications/audio/quodlibet/quodlibet-feedparser6.patch new file mode 100644 index 00000000000..41c6c75cea2 --- /dev/null +++ b/pkgs/applications/audio/quodlibet/quodlibet-feedparser6.patch @@ -0,0 +1,12 @@ +Support feedparser 6, based on https://github.com/quodlibet/quodlibet/pull/3464 + +--- a/quodlibet/browsers/audiofeeds.py ++++ b/quodlibet/browsers/audiofeeds.py +@@ -137,7 +137,4 @@ class Feed(list): + def parse(self): + try: +- if not self._check_feed(): +- return False +- + doc = feedparser.parse(self.uri) + except Exception as e: