2017-12-31 11:44:52 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, markupsafe
|
|
|
|
, nose
|
|
|
|
, mock
|
2019-06-16 19:08:34 +02:00
|
|
|
, pytest
|
2017-12-31 11:44:52 +01:00
|
|
|
, isPyPy
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "Mako";
|
2019-10-16 11:43:01 +02:00
|
|
|
version = "1.0.14";
|
2017-12-31 11:44:52 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-10-16 11:43:01 +02:00
|
|
|
sha256 = "f5a642d8c5699269ab62a68b296ff990767eb120f51e2e8f3d6afb16bdb57f4b";
|
2017-12-31 11:44:52 +01:00
|
|
|
};
|
|
|
|
|
2019-06-16 19:08:34 +02:00
|
|
|
checkInputs = [ markupsafe nose mock pytest ];
|
2017-12-31 11:44:52 +01:00
|
|
|
propagatedBuildInputs = [ markupsafe ];
|
|
|
|
|
|
|
|
doCheck = !isPyPy; # https://bitbucket.org/zzzeek/mako/issue/238/2-tests-failed-on-pypy-24-25
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Super-fast templating language";
|
|
|
|
homepage = http://www.makotemplates.org;
|
|
|
|
license = lib.licenses.mit;
|
|
|
|
platforms = lib.platforms.unix;
|
|
|
|
maintainers = with lib.maintainers; [ domenkozar ];
|
|
|
|
};
|
2019-02-14 14:00:20 +01:00
|
|
|
}
|