2019-03-13 13:38:07 +00:00
|
|
|
{ lib
|
|
|
|
, substituteAll
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, sphinx
|
|
|
|
, pdf2svg
|
|
|
|
, texLive
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "sphinxcontrib-tikz";
|
2021-02-20 09:09:17 +00:00
|
|
|
version = "0.4.11";
|
2019-03-13 13:38:07 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-02-20 09:09:17 +00:00
|
|
|
sha256 = "5c5194055d3219e2ed8d02b52b664d399674154f3db9724ae09e881d091b3d10";
|
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";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://bitbucket.org/philexander/tikz";
|
2019-03-13 13:38:07 +00:00
|
|
|
maintainers = with maintainers; [ costrouc ];
|
|
|
|
license = licenses.bsd3;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|