Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 782 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, python 5, markupsafe 6, nose 7, mock 8, isPyPy 9}: 10 11buildPythonPackage rec { 12 pname = "Mako"; 13 version = "1.1.3"; 14 15 src = fetchPypi { 16 inherit pname version; 17 sha256 = "8195c8c1400ceb53496064314c6736719c6f25e7479cd24c77be3d9361cddc27"; 18 }; 19 20 checkInputs = [ markupsafe nose mock ]; 21 propagatedBuildInputs = [ markupsafe ]; 22 23 doCheck = !isPyPy; # https://bitbucket.org/zzzeek/mako/issue/238/2-tests-failed-on-pypy-24-25 24 checkPhase = '' 25 ${python.interpreter} -m unittest discover 26 ''; 27 28 meta = { 29 description = "Super-fast templating language"; 30 homepage = "http://www.makotemplates.org"; 31 license = lib.licenses.mit; 32 platforms = lib.platforms.unix; 33 maintainers = with lib.maintainers; [ domenkozar ]; 34 }; 35}