13 buildPythonPackage rec {
19 inherit pname version;
20 hash = "sha256-rE3HwdOLOhVxfbJjOjo4MBLgvmZMcnyRFjfmr2pJKTw=";
23 propagatedBuildInputs = [ cairocffi cssselect2 defusedxml pillow tinycss2 ];
25 propagatedNativeBuildInputs = [ cairocffi ];
27 nativeCheckInputs = [ pytestCheckHook ];
30 substituteInPlace setup.cfg \
31 --replace "pytest-runner" "" \
32 --replace "pytest-flake8" "" \
33 --replace "pytest-isort" "" \
34 --replace "pytest-cov" "" \
35 --replace "--flake8" "" \
36 --replace "--isort" ""
40 "cairosvg/test_api.py"
43 pythonImportsCheck = [ "cairosvg" ];
46 homepage = "https://cairosvg.org";
47 license = licenses.lgpl3Plus;
48 description = "SVG converter based on Cairo";
49 maintainers = with maintainers; [ ];