1 { lib, buildPythonPackage, fetchPypi, pythonOlder, sphinx }:
3 buildPythonPackage rec {
4 pname = "sphinxcontrib-katex";
7 # pkgutil namespaces are broken in nixpkgs (because they can't scan multiple
8 # directories). But python2 is EOL, so not supporting it should be ok.
9 disabled = pythonOlder "3";
12 inherit pname version;
13 sha256 = "fa80aba8af9d78f70a0a255815d44e33e8aca8e806ca6101e0eb18b2b7243246";
16 propagatedBuildInputs = [ sphinx ];
18 # There are no unit tests
20 pythonImportsCheck = [ "sphinxcontrib.katex" ];
23 description = "Sphinx extension using KaTeX to render math in HTML";
24 homepage = "https://github.com/hagenw/sphinxcontrib-katex";
25 license = licenses.mit;
26 maintainers = with maintainers; [ jluttine ];