2019-03-13 13:38:07 +00:00
|
|
|
{ lib
|
|
|
|
, substituteAll
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, sphinx
|
|
|
|
, pdf2svg
|
|
|
|
, texLive
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "sphinxcontrib-tikz";
|
2020-02-09 15:43:29 +00:00
|
|
|
version = "0.4.8";
|
2019-03-13 13:38:07 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-02-09 15:43:29 +00:00
|
|
|
sha256 = "1rvm0l40iz1z03d09irkqdwzi9gs6pn0203hylaqbix5c7gabwhy";
|
2019-03-13 13:38:07 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
patches = [
|
|
|
|
(substituteAll {
|
|
|
|
src = ./binary-paths.patch;
|
|
|
|
inherit texLive pdf2svg;
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ sphinx ];
|
|
|
|
|
|
|
|
# no tests in package
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "TikZ extension for Sphinx";
|
|
|
|
homepage = https://bitbucket.org/philexander/tikz;
|
|
|
|
maintainers = with maintainers; [ costrouc ];
|
|
|
|
license = licenses.bsd3;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|