Merge pull request #119270 from austinbutler/weasyprint-pango-fix
This commit is contained in:
commit
a64b9f2b10
1 changed files with 8 additions and 2 deletions
|
@ -1,5 +1,6 @@
|
|||
{ buildPythonPackage,
|
||||
fetchPypi,
|
||||
fetchpatch,
|
||||
cairosvg,
|
||||
pyphen,
|
||||
cffi,
|
||||
|
@ -7,7 +8,6 @@
|
|||
lxml,
|
||||
html5lib,
|
||||
tinycss,
|
||||
pygobject2,
|
||||
glib,
|
||||
pango,
|
||||
fontconfig,
|
||||
|
@ -43,9 +43,15 @@ buildPythonPackage rec {
|
|||
|
||||
FONTCONFIG_FILE = "${fontconfig.out}/etc/fonts/fonts.conf";
|
||||
|
||||
propagatedBuildInputs = [ cairosvg pyphen cffi cssselect lxml html5lib tinycss pygobject2 ];
|
||||
propagatedBuildInputs = [ cairosvg pyphen cffi cssselect lxml html5lib tinycss ];
|
||||
|
||||
# 47043a1fd7e50a892b9836466f521df85d597c4.patch can be removed after next release of weasyprint, see:
|
||||
# https://github.com/Kozea/WeasyPrint/issues/1333#issuecomment-818062970
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
url = "https://github.com/Kozea/WeasyPrint/commit/47043a1fd7e50a892b9836466f521df85d597c44.patch";
|
||||
sha256 = "0l9z0hrav3bcdajlg3vbzljq0lkw7hlj8ppzrq3v21hbj1il1nsb";
|
||||
})
|
||||
(substituteAll {
|
||||
src = ./library-paths.patch;
|
||||
fontconfig = "${fontconfig.lib}/lib/libfontconfig${stdenv.hostPlatform.extensions.sharedLibrary}";
|
||||
|
|
Loading…
Reference in a new issue