2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
docutils,
|
|
|
|
fetchPypi,
|
|
|
|
flit-core,
|
|
|
|
jinja2,
|
|
|
|
markdown-it-py,
|
|
|
|
mdit-py-plugins,
|
|
|
|
pythonOlder,
|
|
|
|
pyyaml,
|
|
|
|
typing-extensions,
|
2022-07-14 12:49:19 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "myst-docutils";
|
2024-05-15 15:35:15 +00:00
|
|
|
version = "3.0.1";
|
2022-07-14 12:49:19 +00:00
|
|
|
format = "pyproject";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
2023-11-16 04:20:00 +00:00
|
|
|
pname = "myst_docutils";
|
|
|
|
inherit version;
|
2024-05-15 15:35:15 +00:00
|
|
|
hash = "sha256-alQvF0OWNjDck022ORJ1Nl4t1jgzMZKEbJxPHsrmBcI=";
|
2022-07-14 12:49:19 +00:00
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
nativeBuildInputs = [ flit-core ];
|
2022-07-14 12:49:19 +00:00
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
docutils
|
|
|
|
jinja2
|
|
|
|
markdown-it-py
|
|
|
|
mdit-py-plugins
|
|
|
|
pyyaml
|
|
|
|
typing-extensions
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "myst_parser" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "An extended commonmark compliant parser, with bridges to docutils/sphinx.";
|
|
|
|
homepage = "https://github.com/executablebooks/MyST-Parser";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ dpausp ];
|
|
|
|
broken = pythonOlder "3.8"; # dependency networkx requires 3.8
|
|
|
|
};
|
|
|
|
}
|