16 buildPythonPackage rec {
17 pname = "sphinx-markdown-parser";
20 # PyPi release does not include requirements.txt
21 src = fetchFromGitHub {
23 repo = "sphinx-markdown-parser";
24 # Upstream maintainer currently does not tag releases
25 # https://github.com/clayrisser/sphinx-markdown-parser/issues/35
26 rev = "2fd54373770882d1fb544dc6524c581c82eedc9e";
27 sha256 = "0i0hhapmdmh83yx61lxi2h4bsmhnzddamz95844g2ghm132kw5mv";
30 propagatedBuildInputs = [ sphinx markdown commonmark pydash pyyaml unify yapf recommonmark ];
32 # Avoids running broken tests in test_markdown.py
34 ${python.interpreter} -m unittest -v tests/test_basic.py tests/test_sphinx.py
37 pythonImportsCheck = [ "sphinx_markdown_parser" ];
40 broken = (stdenv.isLinux && stdenv.isAarch64) || stdenv.isDarwin;
41 description = "Write markdown inside of docutils & sphinx projects";
42 homepage = "https://github.com/clayrisser/sphinx-markdown-parser";
43 license = licenses.mit;
44 maintainers = with maintainers; [ FlorianFranzen ];