9 buildPythonPackage rec {
13 # PyPI does not contain tests, so using GitHub instead.
14 src = fetchFromGitHub {
16 repo = "python-markdown2";
18 sha256 = "sha256-zNZ7/dDZbPIwcxSLvf8u5oaAgHLrZ6kk4vXNPUuZs/4=";
23 name = "SNYK-PYTHON-MARKDOWN2-2606985-xss.patch"; # no CVE (yet?)
24 url = "https://github.com/trentm/python-markdown2/commit/5898fcc1090ef7cd7783fa1422cc0e53cbca9d1b.patch";
25 sha256 = "sha256-M6kKxjHVC3O0BvDeEF4swzfpFsDO/LU9IHvfjK4hznA=";
29 checkInputs = [ pygments ];
35 ${python.interpreter} ./test.py -- -knownfailure
42 description = "A fast and complete Python implementation of Markdown";
43 homepage = "https://github.com/trentm/python-markdown2";
44 license = licenses.mit;
45 maintainers = with maintainers; [ hbunke ];