14 buildPythonPackage rec {
17 format = "setuptools";
19 disabled = pythonOlder "3.7";
22 inherit pname version;
23 hash = "sha256-Oudl06lAnuYMD7TSTC3raoBheqknBU9bzX/JjwaV5Yc=";
26 propagatedBuildInputs = [
34 nativeCheckInputs = [ pytestCheckHook ];
37 # Ignore tests that require network access (TestWikipediaFlags and TestW3CSVG), and tests that
38 # require files missing in the 1.0.0 PyPI release (TestOtherFiles).
44 pythonImportsCheck = [ "svglib.svglib" ];
47 description = "Pure-Python library for reading and converting SVG";
48 mainProgram = "svg2pdf";
49 homepage = "https://github.com/deeplook/svglib";
50 changelog = "https://github.com/deeplook/svglib/blob/v${version}/CHANGELOG.rst";
51 license = licenses.lgpl3Only;
52 maintainers = with maintainers; [ trepetti ];