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