15 # optional-dependencies
25 buildPythonPackage rec {
30 disabled = pythonOlder "3.7";
35 hash = "sha256-SNvCBWjB0naiaYs22Wj6dhYb8ScZSQfqb8WU+oH5Q7w=";
38 nativeBuildInputs = [ setuptools ];
40 propagatedBuildInputs = [ markupsafe ];
42 optional-dependencies = {
51 ] ++ lib.flatten (lib.attrValues optional-dependencies);
54 lib.optionals isPyPy [
55 # https://github.com/sqlalchemy/mako/issues/315
56 "test_alternating_file_names"
57 # https://github.com/sqlalchemy/mako/issues/238
61 "test_bytestring_passthru"
63 # https://github.com/sqlalchemy/mako/issues/408
64 ++ lib.optional (stdenv.targetPlatform.useLLVM or false) "test_future_import";
67 description = "Super-fast templating language";
68 mainProgram = "mako-render";
69 homepage = "https://www.makotemplates.org/";
70 changelog = "https://docs.makotemplates.org/en/latest/changelog.html";
71 license = licenses.mit;
72 platforms = platforms.unix;
73 maintainers = with maintainers; [ domenkozar ];