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-09-25 04:45:31 +00:00
|
|
|
version = "0.7";
|
2020-10-19 23:25:03 +00:00
|
|
|
disabled = isPy27;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-09-25 04:45:31 +00:00
|
|
|
sha256 = "17a12175e8b2052a1c3402fca410841c551c678046293b1f7c280ccfe7b302a0";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|