pythonPackages.python-fontconfig: regenerate sources using cython
This commit is contained in:
parent
33b9aa4f35
commit
445f79af1c
|
@ -1,4 +1,4 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, fontconfig, python, freefont_ttf, makeFontsConf }:
|
||||
{ lib, buildPythonPackage, fetchPypi, fontconfig, python, cython, freefont_ttf, makeFontsConf }:
|
||||
|
||||
let
|
||||
fontsConf = makeFontsConf {
|
||||
|
@ -14,6 +14,11 @@ in buildPythonPackage rec {
|
|||
};
|
||||
|
||||
buildInputs = [ fontconfig ];
|
||||
nativeBuildInputs = [ cython ];
|
||||
|
||||
preBuild = ''
|
||||
${python.interpreter} setup.py build_ext -i
|
||||
'';
|
||||
|
||||
checkPhase = ''
|
||||
export FONTCONFIG_FILE=${fontsConf};
|
||||
|
|
Loading…
Reference in New Issue