mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
Plone: fixed Pillow
This commit is contained in:
parent
b0fd3c79f7
commit
dd51b43164
2 changed files with 32 additions and 269 deletions
File diff suppressed because it is too large
Load diff
|
@ -103,6 +103,23 @@
|
|||
},
|
||||
"Products.CMFCalendar": {
|
||||
"propagatedBuildInputs": [ "eggtestinfo" ]
|
||||
},
|
||||
"Pillow": {
|
||||
"buildInputs": [
|
||||
"pkgs.freetype",
|
||||
"pkgs.libjpeg",
|
||||
"pkgs.zlib",
|
||||
"pkgs.libtiff",
|
||||
"pkgs.libwebp"
|
||||
],
|
||||
"configurePhase": [
|
||||
"sed -i \"setup.py\" \\",
|
||||
" -e 's|^FREETYPE_ROOT =.*$|FREETYPE_ROOT = _lib_include(\"${pkgs.freetype}\")|g ;",
|
||||
" s|^JPEG_ROOT =.*$|JPEG_ROOT = _lib_include(\"${pkgs.libjpeg}\")|g ;",
|
||||
" s|^ZLIB_ROOT =.*$|ZLIB_ROOT = _lib_include(\"${pkgs.zlib}\")|g ;",
|
||||
" s|^LCMS_ROOT =.*$|LCMS_ROOT = _lib_include(\"${pkgs.libwebp}\")|g ;",
|
||||
" s|^TIFF_ROOT =.*$|TIFF_ROOT = _lib_include(\"${pkgs.libtiff}\")|g ;'"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue