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-04-26 19:14:03 +00:00
|
|
|
version = "3.1.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-04-26 19:14:03 +00:00
|
|
|
sha256 = "e309d79dde0935576ce1def6752f2127a12e2c2ea2ae8b0c69f99ff8bc12181d";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|