2017-12-31 10:44:52 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, markupsafe
|
|
|
|
, nose
|
|
|
|
, mock
|
2019-02-14 13:00:20 +00:00
|
|
|
, pytest_3
|
2017-12-31 10:44:52 +00:00
|
|
|
, isPyPy
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "Mako";
|
2019-04-16 18:15:33 +01:00
|
|
|
version = "1.0.9";
|
2017-12-31 10:44:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-04-16 18:15:33 +01:00
|
|
|
sha256 = "0728c404877cd4ca72c409c0ea372dc5f3b53fa1ad2bb434e1d216c0444ff1fd";
|
2017-12-31 10:44:52 +00:00
|
|
|
};
|
|
|
|
|
2019-02-14 13:00:20 +00:00
|
|
|
checkInputs = [ markupsafe nose mock pytest_3 ];
|
2017-12-31 10:44:52 +00: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 13:00:20 +00:00
|
|
|
}
|