2019-03-16 19:14:52 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, markdown
|
2020-10-18 23:07:51 +01:00
|
|
|
, isPy27
|
2019-03-16 19:14:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "python-markdown-math";
|
2020-11-29 14:04:40 +00:00
|
|
|
version = "0.8";
|
2020-10-18 23:07:51 +01:00
|
|
|
disabled = isPy27;
|
2019-03-16 19:14:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-11-29 14:04:40 +00:00
|
|
|
sha256 = "8564212af679fc18d53f38681f16080fcd3d186073f23825c7ce86fadd3e3635";
|
2019-03-16 19:14:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ markdown ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Math extension for Python-Markdown";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/mitya57/python-markdown-math";
|
2019-03-16 21:28:23 +00:00
|
|
|
license = lib.licenses.bsd3;
|
2019-03-16 19:14:52 +00:00
|
|
|
maintainers = with lib.maintainers; [ klntsky ];
|
|
|
|
};
|
|
|
|
}
|