Commit c37cffdd authored by K900's avatar K900
Browse files

urlwatch: cherry-pick lxml 5 compatibility fix

parent d6cc5bb4
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
{ 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