27 buildPythonPackage rec {
28 pname = "markdown-it-py";
32 disabled = pythonOlder "3.6";
34 src = fetchFromGitHub {
35 owner = "executablebooks";
37 rev = "refs/tags/v${version}";
38 hash = "sha256-cmjLElJA61EysTUFMVY++Kw0pI4wOIXOyCY3To9fpQc=";
41 # fix downstrem usage of markdown-it-py[linkify]
42 pythonRelaxDeps = [ "linkify-it-py" ];
48 propagatedBuildInputs = [ mdurl ];
53 ] ++ optional-dependencies.linkify;
55 # disable and remove benchmark tests
59 doCheck = !stdenv.hostPlatform.isi686;
61 pythonImportsCheck = [ "markdown_it" ];
63 optional-dependencies = {
71 linkify = [ linkify-it-py ];
72 plugins = [ mdit-py-plugins ];
85 description = "Markdown parser in Python";
86 homepage = "https://markdown-it-py.readthedocs.io/";
87 changelog = "https://github.com/executablebooks/markdown-it-py/blob/${src.rev}/CHANGELOG.md";
88 license = licenses.mit;
89 maintainers = with maintainers; [ bhipple ];
90 mainProgram = "markdown-it";