nixpkgs/pkgs/development/python-modules/sphinxcontrib-tikz/default.nix
Chris Ostrouchov be4f84414e
pythonPackages.sphinxcontrib-tikz: init at 0.4.6
requires texlive.combined.scheme-full due to needing "standalone.cls"
from extras.
2019-07-23 13:09:25 -04:00

39 lines
707 B
Nix

{ lib
, substituteAll
, buildPythonPackage
, fetchPypi
, sphinx
, pdf2svg
, texLive
}:
buildPythonPackage rec {
pname = "sphinxcontrib-tikz";
version = "0.4.6";
src = fetchPypi {
inherit pname version;
sha256 = "4f362b11e3c2bd17d5f0f07fec03917c16fc5bbcda6fe31ee137c547ed6b03a3";
};
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;
};
}