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-12-26 17:43:05 +00:00
|
|
|
version = "3.1.3";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-12-26 17:43:05 +00:00
|
|
|
sha256 = "ab9747a72c1c6457418eb4276c79871977c13a654618e4f12e2a1f0990fbf2fc";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|