10 buildPythonPackage rec {
14 disabled = pythonOlder "3.5";
16 # PyPI does not contain tests, so using GitHub instead.
17 src = fetchFromGitHub {
19 repo = "python-markdown2";
21 hash = "sha256-1Vs2OMQm/XBOEefV6W58X5hap91aTNuTx8UFf0285uk=";
24 nativeCheckInputs = [ pygments ];
30 ${python.interpreter} ./test.py -- -knownfailure
36 passthru.optional-dependencies = {
37 code_syntax_highlighting = [
43 all = lib.flatten (lib.attrValues (lib.filterAttrs (n: v: n != "all") passthru.optional-dependencies));
47 changelog = "https://github.com/trentm/python-markdown2/blob/${src.rev}/CHANGES.md";
48 description = "A fast and complete Python implementation of Markdown";
49 homepage = "https://github.com/trentm/python-markdown2";
50 license = licenses.mit;
51 maintainers = with maintainers; [ hbunke ];