at 22.05-pre 989 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, isPyPy 5, markupsafe 6, mock 7, pytestCheckHook 8}: 9 10buildPythonPackage rec { 11 pname = "Mako"; 12 version = "1.1.5"; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "169fa52af22a91900d852e937400e79f535496191c63712e3b9fda5a9bed6fc3"; 17 }; 18 19 propagatedBuildInputs = [ markupsafe ]; 20 checkInputs = [ pytestCheckHook markupsafe mock ]; 21 22 disabledTests = lib.optionals isPyPy [ 23 # https://github.com/sqlalchemy/mako/issues/315 24 "test_alternating_file_names" 25 # https://github.com/sqlalchemy/mako/issues/238 26 "test_file_success" 27 "test_stdin_success" 28 # fails on pypy2.7 29 "test_bytestring_passthru" 30 ]; 31 32 meta = with lib; { 33 description = "Super-fast templating language"; 34 homepage = "https://www.makotemplates.org/"; 35 changelog = "https://docs.makotemplates.org/en/latest/changelog.html"; 36 license = licenses.mit; 37 platforms = platforms.unix; 38 maintainers = with maintainers; [ domenkozar ]; 39 }; 40}