Merge #291219: urlwatch: cherry-pick lxml 5 compatibility fix

...into staging-next
This commit is contained in:
Vladimír Čunát 2024-02-24 21:33:53 +01:00
commit b9a08a7a03
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -1,5 +1,6 @@
{ lib { lib
, fetchFromGitHub , fetchFromGitHub
, fetchpatch
, python3Packages , python3Packages
}: }:
@ -14,6 +15,16 @@ python3Packages.buildPythonApplication rec {
hash = "sha256-dGohG2+HrsuKegPAn1fmpLYPpovEEUsx+C/0sp2/cX0="; 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; [ propagatedBuildInputs = with python3Packages; [
appdirs appdirs
cssselect cssselect