···
···
···
disabled = pythonOlder "3.9";
-
hash = "sha256-KLAvLGQJuvzhsSINnXanNFh1vTvQjE9t+/UQu5KpR1c=";
(replaceVars ./library-paths.patch {
fontconfig = "${fontconfig.lib}/lib/libfontconfig${stdenv.hostPlatform.extensions.sharedLibrary}";
-
pangoft2 = "${pango.out}/lib/libpangoft2-1.0${stdenv.hostPlatform.extensions.sharedLibrary}";
gobject = "${glib.out}/lib/libgobject-2.0${stdenv.hostPlatform.extensions.sharedLibrary}";
-
pango = "${pango.out}/lib/libpango-1.0${stdenv.hostPlatform.extensions.sharedLibrary}";
harfbuzz = "${harfbuzz.out}/lib/libharfbuzz${stdenv.hostPlatform.extensions.sharedLibrary}";
harfbuzz_subset = "${harfbuzz.out}/lib/libharfbuzz-subset${stdenv.hostPlatform.extensions.sharedLibrary}";
build-system = [ flit-core ];
-
pythonRelaxDeps = [ "tinycss2" ];
···
] ++ fonttools.optional-dependencies.woff;
# needs the Ahem font (fails on macOS)
# sensitive to sandbox environments
"test_tabulation_character"
-
"test_linear_gradients_5"
-
"test_linear_gradients_12"
# rounding issues in sandbox
"test_images_transparent_text"
-
"test_empty_inline_auto_margins"
-
"test_vertical_align_4"
-
"test_margin_boxes_element"
-
"test_running_elements"
-
"test_layout_table_auto_44"
-
"test_layout_table_auto_45"
···
pythonImportsCheck = [ "weasyprint" ];
changelog = "https://github.com/Kozea/WeasyPrint/releases/tag/v${version}";
description = "Converts web documents to PDF";
mainProgram = "weasyprint";
homepage = "https://weasyprint.org/";
-
license = licenses.bsd3;
···
···
···
disabled = pythonOlder "3.9";
+
hash = "sha256-PGed6Wp8hxrgDwjNHncgDzPipJ014gnHIRWTJ1eN+Yg=";
(replaceVars ./library-paths.patch {
fontconfig = "${fontconfig.lib}/lib/libfontconfig${stdenv.hostPlatform.extensions.sharedLibrary}";
gobject = "${glib.out}/lib/libgobject-2.0${stdenv.hostPlatform.extensions.sharedLibrary}";
harfbuzz = "${harfbuzz.out}/lib/libharfbuzz${stdenv.hostPlatform.extensions.sharedLibrary}";
harfbuzz_subset = "${harfbuzz.out}/lib/libharfbuzz-subset${stdenv.hostPlatform.extensions.sharedLibrary}";
+
pango = "${pango.out}/lib/libpango-1.0${stdenv.hostPlatform.extensions.sharedLibrary}";
+
pangoft2 = "${pango.out}/lib/libpangoft2-1.0${stdenv.hostPlatform.extensions.sharedLibrary}";
build-system = [ flit-core ];
···
] ++ fonttools.optional-dependencies.woff;
# needs the Ahem font (fails on macOS)
# sensitive to sandbox environments
+
"test_linear_gradients_12"
+
"test_linear_gradients_5"
"test_tabulation_character"
# rounding issues in sandbox
+
"test_empty_inline_auto_margins"
"test_images_transparent_text"
+
"test_layout_table_auto_44"
+
"test_layout_table_auto_45"
+
"test_margin_boxes_element"
+
"test_running_elements"
+
"test_vertical_align_4"
···
pythonImportsCheck = [ "weasyprint" ];
changelog = "https://github.com/Kozea/WeasyPrint/releases/tag/v${version}";
description = "Converts web documents to PDF";
mainProgram = "weasyprint";
homepage = "https://weasyprint.org/";
+
license = lib.licenses.bsd3;
+
maintainers = lib.teams.apm.members;