2020-04-24 23:36:52 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, markdown
|
2020-10-19 23:25:03 +00:00
|
|
|
, isPy27
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "python-markdown-math";
|
2020-12-07 07:45:13 +00:00
|
|
|
version = "0.8";
|
2020-10-19 23:25:03 +00:00
|
|
|
disabled = isPy27;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-12-07 07:45:13 +00:00
|
|
|
sha256 = "8564212af679fc18d53f38681f16080fcd3d186073f23825c7ce86fadd3e3635";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ markdown ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Math extension for Python-Markdown";
|
|
|
|
homepage = "https://github.com/mitya57/python-markdown-math";
|
|
|
|
license = lib.licenses.bsd3;
|
|
|
|
maintainers = with lib.maintainers; [ klntsky ];
|
|
|
|
};
|
|
|
|
}
|