myst-docutils: init at 0.17.2 (#171710)

This commit is contained in:
Tobias Stenzel 2022-07-10 05:53:18 +02:00 committed by GitHub
parent 32c03367eb
commit 8adfc29685
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 48 additions and 0 deletions

View file

@ -0,0 +1,46 @@
{ lib
, buildPythonPackage
, docutils
, fetchPypi
, flit-core
, jinja2
, markdown-it-py
, mdit-py-plugins
, pythonOlder
, pyyaml
, typing-extensions
}:
buildPythonPackage rec {
pname = "myst-docutils";
version = "0.17.2";
format = "pyproject";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-Of3AVM0OsspcmvRAEXbfu2+V3ju6yqb2sFBexkbmNIU=";
};
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
};
}

View file

@ -5688,6 +5688,8 @@ in {
mysql-connector = callPackage ../development/python-modules/mysql-connector { }; mysql-connector = callPackage ../development/python-modules/mysql-connector { };
myst-docutils = callPackage ../development/python-modules/myst-docutils { };
myst-nb = callPackage ../development/python-modules/myst-nb { }; myst-nb = callPackage ../development/python-modules/myst-nb { };
myst-parser = callPackage ../development/python-modules/myst-parser { }; myst-parser = callPackage ../development/python-modules/myst-parser { };