mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 15:22:59 +01:00
myst-docutils: init at 0.17.2 (#171710)
This commit is contained in:
parent
32c03367eb
commit
8adfc29685
2 changed files with 48 additions and 0 deletions
46
pkgs/development/python-modules/myst-docutils/default.nix
Normal file
46
pkgs/development/python-modules/myst-docutils/default.nix
Normal 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
|
||||
};
|
||||
}
|
|
@ -5688,6 +5688,8 @@ in {
|
|||
|
||||
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-parser = callPackage ../development/python-modules/myst-parser { };
|
||||
|
|
Loading…
Reference in a new issue