diff options
author | Jan Tojnar <jtojnar@gmail.com> | 2023-12-03 13:27:41 +0100 |
---|---|---|
committer | Jan Tojnar <jtojnar@gmail.com> | 2023-12-17 18:24:35 +0100 |
commit | 038a96835b20a7a74223c65c955611390bb4cc94 (patch) | |
tree | 3fa6d7fe16cf5a129150b60b7745d754a42eb2ee /pkgs/development | |
parent | c59b69d2b967ac275da87b6e7a3b44d15856bc93 (diff) | |
download | nixlib-038a96835b20a7a74223c65c955611390bb4cc94.tar nixlib-038a96835b20a7a74223c65c955611390bb4cc94.tar.gz nixlib-038a96835b20a7a74223c65c955611390bb4cc94.tar.bz2 nixlib-038a96835b20a7a74223c65c955611390bb4cc94.tar.lz nixlib-038a96835b20a7a74223c65c955611390bb4cc94.tar.xz nixlib-038a96835b20a7a74223c65c955611390bb4cc94.tar.zst nixlib-038a96835b20a7a74223c65c955611390bb4cc94.zip |
python3.pkgs.beautifulsoup4: Fix build with libxml2 2.12
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 |