Something went wrong. Try again.
lol
Something went wrong. Try again.
1.4 kB · 75 lines
Nix
at master
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576{ lib, beautifulsoup4, buildPythonPackage, defusedxml, docutils, fetchFromGitHub, flit-core, jinja2, markdown-it-py, mdit-py-plugins, pytest-param-files, pytest-regressions, pytestCheckHook, pyyaml, sphinx-pytest, sphinx, typing-extensions,}:
buildPythonPackage rec { pname = "myst-docutils"; version = "5.0.0"; pyproject = true;
src = fetchFromGitHub { owner = "executablebooks"; repo = "MyST-Parser"; tag = "v${version}"; hash = "sha256-0lGejdGVVvZar3sPBbvThXzJML7PcR5+shyDHTTtVEY="; };
build-system = [ flit-core ];
dependencies = [ docutils jinja2 markdown-it-py mdit-py-plugins pyyaml sphinx typing-extensions ];
nativeCheckInputs = [ beautifulsoup4 defusedxml pytest-param-files pytest-regressions pytestCheckHook sphinx-pytest ];
pythonImportsCheck = [ "myst_parser" ];
disabledTests = [ # Tests require linkify "test_cmdline" "test_extended_syntaxes" # sphinx compat "test_sphinx_directives" ];
disabledTestPaths = [ # Assertion errors "tests/test_sphinx/" ];
meta = { description = "Extended commonmark compliant parser, with bridges to docutils/sphinx"; homepage = "https://github.com/executablebooks/MyST-Parser"; changelog = "https://github.com/executablebooks/MyST-Parser/blob/${src.tag}/CHANGELOG.md"; license = lib.licenses.mit; };}