12 buildPythonPackage rec {
16 disabled = pythonOlder "3.7";
20 src = fetchFromGitHub {
21 owner = "Python-Markdown";
23 rev = "refs/tags/${version}";
24 hash = "sha256-5PIIhbJVsotGwZ3BQ4x0I7WjgnGF3opNrn8J+xZCflg=";
32 propagatedBuildInputs = lib.optionals (pythonOlder "3.10") [
36 nativeCheckInputs = [ unittestCheckHook pyyaml ];
38 pythonImportsCheck = [ "markdown" ];
41 changelog = "https://github.com/Python-Markdown/markdown/blob/${src.rev}/docs/change_log/index.md";
42 description = "Python implementation of John Gruber's Markdown";
43 homepage = "https://github.com/Python-Markdown/markdown";
44 license = licenses.bsd3;
45 maintainers = with maintainers; [ dotlambda ];