diff options
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/python-modules/beautifulsoup4/default.nix | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/beautifulsoup4/default.nix b/pkgs/development/python-modules/beautifulsoup4/default.nix index e803bcf154e1..9e9d15bec0cb 100644 --- a/pkgs/development/python-modules/beautifulsoup4/default.nix +++ b/pkgs/development/python-modules/beautifulsoup4/default.nix @@ -1,6 +1,7 @@ { lib , buildPythonPackage , fetchPypi +, fetchpatch , chardet , hatchling , html5lib @@ -33,6 +34,18 @@ buildPythonPackage rec { hash = "sha256-SSu8adyjXRLarHHE2xv/8Mh2wA70ov+sziJtRjjrcto="; }; + patches = [ + # Fix test with libxml 2.12. + # https://bugs.launchpad.net/beautifulsoup/+bug/2045481 + (fetchpatch { + url = "https://bugs.launchpad.net/beautifulsoup/+bug/2045481/+attachment/5726132/+files/2045481.diff"; + hash = "sha256-f/Wkh7El4r1iWM2/CSi5AKE1+NsEP3D5pxWgBcZ//Vs="; + excludes = [ + "CHANGELOG" + ]; + }) + ]; + nativeBuildInputs = [ hatchling sphinxHook |