2020-04-24 23:36:52 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, python-markdown-math
|
|
|
|
, markdown
|
|
|
|
, docutils
|
|
|
|
, pygments
|
2021-05-20 23:08:51 +00:00
|
|
|
, pyyaml
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "Markups";
|
2021-09-18 10:52:07 +00:00
|
|
|
version = "3.1.2";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-09-18 10:52:07 +00:00
|
|
|
sha256 = "2954d53656d9ec84f2f6c077e91a1de534e05647f20d327757283bbb5a857770";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-05-20 23:08:51 +00:00
|
|
|
checkInputs = [ markdown docutils pygments pyyaml ];
|
2020-04-24 23:36:52 +00:00
|
|
|
propagatedBuildInputs = [ python-markdown-math ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A wrapper around various text markup languages.";
|
|
|
|
homepage = "https://github.com/retext-project/pymarkups";
|
|
|
|
license = lib.licenses.bsd3;
|
|
|
|
maintainers = with lib.maintainers; [ klntsky ];
|
|
|
|
};
|
|
|
|
}
|