python3Packages.weasyprint: fix darwin build (#430766)

This commit is contained in:
Gaétan Lepage
2025-08-07 22:38:39 +02:00
committed by GitHub
@@ -35,6 +35,8 @@ buildPythonPackage rec {
version = "65.1";
pyproject = true;
__darwinAllowLocalNetworking = true;
src = fetchFromGitHub {
owner = "Kozea";
repo = "WeasyPrint";
@@ -112,10 +114,5 @@ buildPythonPackage rec {
homepage = "https://weasyprint.org/";
license = lib.licenses.bsd3;
teams = [ lib.teams.apm ];
badPlatforms = [
# Fatal Python error: Segmentation fault
# "...weasyprint/pdf/fonts.py", line 221 in _harfbuzz_subset
lib.systems.inspect.patterns.isDarwin
];
};
}