···1-{ lib, buildPythonPackage, fetchPypi, pythonOlder, sphinx }:
0000023buildPythonPackage rec {
4 pname = "sphinxcontrib-katex";
5- version = "0.8.6";
067- # 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";
1011 src = fetchPypi {
12 inherit pname version;
13- sha256 = "c3dcdb2984626a0e6c1b11bc2580c7bbc6ab3711879b23bbf26c028a0f4fd4f2";
14 };
1516- propagatedBuildInputs = [ sphinx ];
001718 # There are no unit tests
19 doCheck = false;
20- pythonImportsCheck = [ "sphinxcontrib.katex" ];
0002122 meta = with lib; {
23 description = "Sphinx extension using KaTeX to render math in HTML";
···1+{ lib
2+, buildPythonPackage
3+, fetchPypi
4+, pythonOlder
5+, sphinx
6+}:
78buildPythonPackage rec {
9 pname = "sphinxcontrib-katex";
10+ version = "0.9.0";
11+ format = "setuptools";
1213+ disabled = pythonOlder "3.7";
001415 src = fetchPypi {
16 inherit pname version;
17+ hash = "sha256-HFs1+9tWl1D5VWY14dPCk+Ewv+ubedhd9DcCSrPQZnQ=";
18 };
1920+ propagatedBuildInputs = [
21+ sphinx
22+ ];
2324 # There are no unit tests
25 doCheck = false;
26+27+ pythonImportsCheck = [
28+ "sphinxcontrib.katex"
29+ ];
3031 meta = with lib; {
32 description = "Sphinx extension using KaTeX to render math in HTML";