urlwatch: cherry-pick lxml 5 compatibility fix

This commit is contained in:
K900 2024-02-24 22:38:21 +03:00
parent d6cc5bb41d
commit c37cffdda5

View file

@ -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