10 buildPythonPackage rec {
11 pname = "sphinxcontrib-tikz";
13 format = "setuptools";
16 inherit pname version;
17 hash = "sha256-LuO9H5yi80nAgjpPNQfZHEEOf5a+IPBR/vevFmXzQco=";
21 substituteInPlace sphinxcontrib/tikz.py \
22 --replace "config.latex_engine" "'${
23 texliveSmall.withPackages (
30 --replace "system(['pdf2svg'" "system(['${pdf2svg}/bin/pdf2svg'"
33 propagatedBuildInputs = [ sphinx ];
38 pythonImportsCheck = [ "sphinxcontrib.tikz" ];
40 pythonNamespaces = [ "sphinxcontrib" ];
43 description = "TikZ extension for Sphinx";
44 homepage = "https://bitbucket.org/philexander/tikz";
46 license = licenses.bsd3;