about summary refs log tree commit diff
path: root/pkgs/tools/networking
diff options
context:
space:
mode:
authorK900 <me@0upti.me>2024-02-24 22:38:21 +0300
committerK900 <me@0upti.me>2024-02-24 22:39:08 +0300
commitc37cffdda5ccc4999593c78c67db37b8f8d0ecde (patch)
tree23d99e0362b63646ed9d53381bc1980a9d1338e3 /pkgs/tools/networking
parentd6cc5bb41d95eafce820fe82035838312efeb0df (diff)
downloadnixlib-c37cffdda5ccc4999593c78c67db37b8f8d0ecde.tar
nixlib-c37cffdda5ccc4999593c78c67db37b8f8d0ecde.tar.gz
nixlib-c37cffdda5ccc4999593c78c67db37b8f8d0ecde.tar.bz2
nixlib-c37cffdda5ccc4999593c78c67db37b8f8d0ecde.tar.lz
nixlib-c37cffdda5ccc4999593c78c67db37b8f8d0ecde.tar.xz
nixlib-c37cffdda5ccc4999593c78c67db37b8f8d0ecde.tar.zst
nixlib-c37cffdda5ccc4999593c78c67db37b8f8d0ecde.zip
urlwatch: cherry-pick lxml 5 compatibility fix
Diffstat (limited to 'pkgs/tools/networking')
-rw-r--r--pkgs/tools/networking/urlwatch/default.nix11
1 files changed, 11 insertions, 0 deletions
diff --git a/pkgs/tools/networking/urlwatch/default.nix b/pkgs/tools/networking/urlwatch/default.nix
index a17b4b88da3d..36ad0ba77ce7 100644
--- a/pkgs/tools/networking/urlwatch/default.nix
+++ b/pkgs/tools/networking/urlwatch/default.nix
@@ -1,5 +1,6 @@
 { lib
 , fetchFromGitHub
+, fetchpatch
 , python3Packages
 }:
 
@@ -14,6 +15,16 @@ python3Packages.buildPythonApplication rec {
     hash = "sha256-dGohG2+HrsuKegPAn1fmpLYPpovEEUsx+C/0sp2/cX0=";
   };
 
+  patches = [
+    # lxml 5 compatibility fix
+    # FIXME: remove in next release
+    (fetchpatch {
+      url = "https://github.com/thp/urlwatch/commit/123de66d019aef7fc18fab6d56cc2a54d81fea3f.patch";
+      excludes = [ "CHANGELOG.md" ];
+      hash = "sha256-C9qb6TYeNcdszunE2B5DWRyXyqnANd32H7m9KmidCD0=";
+    })
+  ];
+
   propagatedBuildInputs = with python3Packages; [
     appdirs
     cssselect