1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 markdown,
6 isPy27,
7}:
8
9buildPythonPackage rec {
10 pname = "python-markdown-math";
11 version = "0.8";
12 format = "setuptools";
13 disabled = isPy27;
14
15 src = fetchPypi {
16 inherit pname version;
17 sha256 = "8564212af679fc18d53f38681f16080fcd3d186073f23825c7ce86fadd3e3635";
18 };
19
20 nativeCheckInputs = [ markdown ];
21
22 meta = {
23 description = "Math extension for Python-Markdown";
24 homepage = "https://github.com/mitya57/python-markdown-math";
25 license = lib.licenses.bsd3;
26 maintainers = with lib.maintainers; [ klntsky ];
27 };
28}