depot/third_party/nixpkgs/pkgs/development/python-modules/myst-docutils/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

46 lines
944 B
Nix

{
lib,
buildPythonPackage,
docutils,
fetchPypi,
flit-core,
jinja2,
markdown-it-py,
mdit-py-plugins,
pythonOlder,
pyyaml,
typing-extensions,
}:
buildPythonPackage rec {
pname = "myst-docutils";
version = "3.0.1";
format = "pyproject";
src = fetchPypi {
pname = "myst_docutils";
inherit version;
hash = "sha256-alQvF0OWNjDck022ORJ1Nl4t1jgzMZKEbJxPHsrmBcI=";
};
nativeBuildInputs = [ flit-core ];
propagatedBuildInputs = [
docutils
jinja2
markdown-it-py
mdit-py-plugins
pyyaml
typing-extensions
];
pythonImportsCheck = [ "myst_parser" ];
meta = with lib; {
description = "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
};
}