pythonPackages.pygal: fix build

This commit is contained in:
Frederik Rietdijk 2019-06-15 10:07:07 +02:00
parent e66ceaa03b
commit ad9a4d0d5e

View File

@ -41,6 +41,10 @@ buildPythonPackage rec {
export LANG=en_US.UTF-8
'';
postPatch = ''
substituteInPlace setup.cfg --replace "[pytest]" "[tool:pytest]"
'';
propagatedBuildInputs = [ cairosvg tinycss cssselect ]
++ stdenv.lib.optionals (!isPyPy) [ lxml ];