Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 40 lines 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.4"; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "17831f0b7087c313c0ffae2bcbbd3c1d5ba9eeac9c38f2eb7b50e8c99fe9d5ab"; 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}