pythonPackages.pygal: fix build
This commit is contained in:
parent
e66ceaa03b
commit
ad9a4d0d5e
1 changed files with 4 additions and 0 deletions
|
@ -41,6 +41,10 @@ buildPythonPackage rec {
|
||||||
export LANG=en_US.UTF-8
|
export LANG=en_US.UTF-8
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace setup.cfg --replace "[pytest]" "[tool:pytest]"
|
||||||
|
'';
|
||||||
|
|
||||||
propagatedBuildInputs = [ cairosvg tinycss cssselect ]
|
propagatedBuildInputs = [ cairosvg tinycss cssselect ]
|
||||||
++ stdenv.lib.optionals (!isPyPy) [ lxml ];
|
++ stdenv.lib.optionals (!isPyPy) [ lxml ];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue