linux_xanmod: 5.11.14 -> 5.11.15
[NixPkgs.git] / pkgs / development / python-modules / sphinxcontrib-katex / default.nix
blob6fcafd438ba0710befab48fcabcda30f348a740d
1 { lib, buildPythonPackage, fetchPypi, pythonOlder, sphinx }:
3 buildPythonPackage rec {
4   pname = "sphinxcontrib-katex";
5   version = "0.7.1";
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";
11   src = fetchPypi {
12     inherit pname version;
13     sha256 = "fa80aba8af9d78f70a0a255815d44e33e8aca8e806ca6101e0eb18b2b7243246";
14   };
16   propagatedBuildInputs = [ sphinx ];
18   # There are no unit tests
19   doCheck = false;
20   pythonImportsCheck = [ "sphinxcontrib.katex" ];
22   meta = with lib; {
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 ];
27   };