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