2c76a4cb41
GitOrigin-RevId: c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad
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 = "2.0.0";
|
|
format = "pyproject";
|
|
|
|
src = fetchPypi {
|
|
pname = "myst_docutils";
|
|
inherit version;
|
|
hash = "sha256-WmmPEg+bINmeId+pjR6bbp8qzjfSXfEel+sQEdPIu8Y=";
|
|
};
|
|
|
|
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
|
|
};
|
|
}
|