Merge pull request #142496 from SuperSandro2000/sphinxcontrib-tikz

conduit-nginx
Sandro 2021-10-21 21:07:30 +02:00 committed by GitHub
commit 4b566786cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -18,7 +18,7 @@ buildPythonPackage rec {
postPatch = ''
substituteInPlace sphinxcontrib/tikz.py \
--replace "config.latex_engine" "${texLive}/bin/pdflatex" \
--replace "config.latex_engine" "'${texLive}/bin/pdflatex'" \
--replace "system(['pdf2svg'" "system(['${pdf2svg}/bin/pdf2svg'"
'';
@ -27,6 +27,8 @@ buildPythonPackage rec {
# no tests in package
doCheck = false;
pythonImportsCheck = [ "sphinxcontrib.tikz" ];
meta = with lib; {
description = "TikZ extension for Sphinx";
homepage = "https://bitbucket.org/philexander/tikz";