evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / myst-docutils / default.nix
blob6f3761d95fb03cc1ab3def142bde954ff41d2e41
2   lib,
3   beautifulsoup4,
4   buildPythonPackage,
5   defusedxml,
6   docutils,
7   fetchFromGitHub,
8   flit-core,
9   jinja2,
10   markdown-it-py,
11   mdit-py-plugins,
12   pytest-param-files,
13   pytest-regressions,
14   pytestCheckHook,
15   pythonOlder,
16   pyyaml,
17   sphinx-pytest,
18   sphinx,
19   typing-extensions,
22 buildPythonPackage rec {
23   pname = "myst-docutils";
24   version = "4.0.0";
25   pyproject = true;
27   disabled = pythonOlder "3.10";
29   src = fetchFromGitHub {
30     owner = "executablebooks";
31     repo = "MyST-Parser";
32     rev = "refs/tags/v${version}";
33     hash = "sha256-QbFENC/Msc4pkEOPdDztjyl+2TXtAbMTHPJNAsUB978=";
34   };
36   build-system = [ flit-core ];
38   dependencies = [
39     docutils
40     jinja2
41     markdown-it-py
42     mdit-py-plugins
43     pyyaml
44     sphinx
45     typing-extensions
46   ];
48   nativeCheckInputs = [
49     beautifulsoup4
50     defusedxml
51     pytest-param-files
52     pytest-regressions
53     pytestCheckHook
54     sphinx-pytest
55   ];
57   pythonImportsCheck = [ "myst_parser" ];
59   disabledTests = [
60     # Tests require linkify
61     "test_cmdline"
62     "test_extended_syntaxes"
63   ];
65   meta = with lib; {
66     description = "Extended commonmark compliant parser, with bridges to docutils/sphinx";
67     homepage = "https://github.com/executablebooks/MyST-Parser";
68     changelog = "https://github.com/executablebooks/MyST-Parser/blob/v${version}/CHANGELOG.md";
69     license = licenses.mit;
70     maintainers = with maintainers; [ dpausp ];
71   };