mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-23 21:55:53 +02:00
python3Packages.reportlab: patch path to freetype headers
This commit is contained in:
parent
a6bb82efd0
commit
11ffe5b562
|
@ -1,4 +1,5 @@
|
||||||
{ buildPythonPackage
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, freetype
|
, freetype
|
||||||
, pillow
|
, pillow
|
||||||
|
@ -23,6 +24,9 @@ in buildPythonPackage rec {
|
||||||
buildInputs = [ ft pillow ];
|
buildInputs = [ ft pillow ];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
substituteInPlace setup.py \
|
||||||
|
--replace "mif = findFile(d,'ft2build.h')" "mif = findFile('${lib.getDev ft}','ft2build.h')"
|
||||||
|
|
||||||
# Remove all the test files that require access to the internet to pass.
|
# Remove all the test files that require access to the internet to pass.
|
||||||
rm tests/test_lib_utils.py
|
rm tests/test_lib_utils.py
|
||||||
rm tests/test_platypus_general.py
|
rm tests/test_platypus_general.py
|
||||||
|
|
Loading…
Reference in a new issue