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

33 lines
721 B
Nix
Raw Normal View History

2017-12-31 11:44:52 +01:00
{ lib
, buildPythonPackage
, fetchPypi
, markupsafe
, nose
, mock
, pytest_3
2017-12-31 11:44:52 +01:00
, isPyPy
}:
buildPythonPackage rec {
pname = "Mako";
2019-05-30 08:49:47 +02:00
version = "1.0.10";
2017-12-31 11:44:52 +01:00
src = fetchPypi {
inherit pname version;
2019-05-30 08:49:47 +02:00
sha256 = "7165919e78e1feb68b4dbe829871ea9941398178fa58e6beedb9ba14acf63965";
2017-12-31 11:44:52 +01:00
};
checkInputs = [ markupsafe nose mock pytest_3 ];
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 ];
};
}