13 # optional-dependencies
22 buildPythonPackage rec {
27 disabled = pythonOlder "3.8";
30 inherit pname version;
31 hash = "sha256-wKDzTlvBwBl1wr+4NCrVIeKTrULlJWmd0AxNelLBS3E=";
35 substituteInPlace setup.py \
36 --replace-fail pytest-runner ""
39 build-system = [ setuptools ];
41 dependencies = [ importlib-metadata ];
43 optional-dependencies = {
51 ] ++ lib.flatten (lib.attrValues optional-dependencies);
54 # necessary on darwin to pass the testsuite
55 export LANG=en_US.UTF-8
59 description = "Module for dynamic SVG charting";
60 homepage = "http://www.pygal.org";
61 changelog = "https://github.com/Kozea/pygal/blob/${version}/docs/changelog.rst";
62 downloadPage = "https://github.com/Kozea/pygal";
63 license = licenses.lgpl3Plus;
65 mainProgram = "pygal_gen.py";