nixpkgs/pkgs/development/python-modules/Mako/default.nix

33 lines
720 B
Nix
Raw Normal View History

2017-12-31 10:44:52 +00:00
{ lib
, buildPythonPackage
, fetchPypi
, markupsafe
, nose
, mock
, pytest_3
2017-12-31 10:44:52 +00:00
, isPyPy
}:
buildPythonPackage rec {
pname = "Mako";
2017-12-31 10:45:09 +00:00
version = "1.0.7";
2017-12-31 10:44:52 +00:00
src = fetchPypi {
inherit pname version;
2017-12-31 10:45:09 +00:00
sha256 = "4e02fde57bd4abb5ec400181e4c314f56ac3e49ba4fb8b0d50bba18cb27d25ae";
2017-12-31 10:44:52 +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 ];
};
}