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