diff options
author | Orivej Desh <orivej@gmx.fr> | 2020-12-07 01:31:32 +0000 |
---|---|---|
committer | Orivej Desh <orivej@gmx.fr> | 2020-12-07 01:31:32 +0000 |
commit | 7dfe92ab942256a7cba9d51a781704a494358edd (patch) | |
tree | 8f18f5d0544933cbcff0333a174c463120b0b3ab | |
parent | 5fe86e006e6b4678f325ca1db87ee297e0dc3489 (diff) | |
download | nixpkgs-7dfe92ab942256a7cba9d51a781704a494358edd.tar nixpkgs-7dfe92ab942256a7cba9d51a781704a494358edd.tar.gz nixpkgs-7dfe92ab942256a7cba9d51a781704a494358edd.tar.bz2 nixpkgs-7dfe92ab942256a7cba9d51a781704a494358edd.tar.lz nixpkgs-7dfe92ab942256a7cba9d51a781704a494358edd.tar.xz nixpkgs-7dfe92ab942256a7cba9d51a781704a494358edd.tar.zst nixpkgs-7dfe92ab942256a7cba9d51a781704a494358edd.zip |
quodlibet: support feedparser 6
-rw-r--r-- | pkgs/applications/audio/quodlibet/default.nix | 2 | ||||
-rw-r--r-- | pkgs/applications/audio/quodlibet/quodlibet-feedparser6.patch | 12 |
2 files changed, 14 insertions, 0 deletions
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: |