1{ lib
2, buildPythonPackage
3, fetchPypi
4, markupsafe
5, nose
6, mock
7, pytest
8, isPyPy
9}:
10
11buildPythonPackage rec {
12 pname = "Mako";
13 version = "1.0.12";
14
15 src = fetchPypi {
16 inherit pname version;
17 sha256 = "0cfa65de3a835e87eeca6ac856b3013aade55f49e32515f65d999f91a2324162";
18 };
19
20 checkInputs = [ markupsafe nose mock pytest ];
21 propagatedBuildInputs = [ markupsafe ];
22
23 doCheck = !isPyPy; # https://bitbucket.org/zzzeek/mako/issue/238/2-tests-failed-on-pypy-24-25
24
25 meta = {
26 description = "Super-fast templating language";
27 homepage = http://www.makotemplates.org;
28 license = lib.licenses.mit;
29 platforms = lib.platforms.unix;
30 maintainers = with lib.maintainers; [ domenkozar ];
31 };
32}