-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathmyst-docutils.nix
More file actions
46 lines (40 loc) · 921 Bytes
/
myst-docutils.nix
File metadata and controls
46 lines (40 loc) · 921 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
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.18.0";
format = "pyproject";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-evyIuNLbBWR3KfQMv2lNw6fOgX1+/uMS5cHIbSTYDmA=";
};
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
};
}