5c370c0b2a
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
47 lines
941 B
Nix
47 lines
941 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 = "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
|
|
};
|
|
}
|