2020-04-24 23:36:52 +00:00
|
|
|
{ lib
|
|
|
|
, substituteAll
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, sphinx
|
|
|
|
, pdf2svg
|
|
|
|
, texLive
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "sphinxcontrib-tikz";
|
2021-06-28 23:13:55 +00:00
|
|
|
version = "0.4.13";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-06-28 23:13:55 +00:00
|
|
|
sha256 = "882e3ccfa202559bf77b90c93ee5eb13ec50cdd7714b3673dc6580dea7236740";
|
2020-04-24 23:36:52 +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;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|