pythonPackages.pyjade: init at 4.0.0

Tested on Linux
- python 2.7
- python 3.5
This commit is contained in:
Fernando J Pando 2016-08-30 09:24:41 -04:00 committed by Frederik Rietdijk
parent 96a0fbb587
commit 28b60b1924

@ -4544,6 +4544,33 @@ in modules // {
};
};
pyjade = buildPythonPackage rec {
name = "${pname}-${version}";
pname = "pyjade";
version = "4.0.0";
src = pkgs.fetchurl {
url = "mirror://pypi/p/${pname}/${name}.tar.gz";
sha256 = "1mycn5cc9cp4fb0i2vzgkkk6d0glnkbilggwb4i99i09vr0vg5cd";
};
buildInputs = with self; [ pyramid_mako nose django_1_9 jinja2 tornado pyramid Mako ];
propagatedBuildInputs = with self; [ six ];
patchPhase = ''
sed -i 's/1.4.99/1.99/' setup.py
'';
checkPhase = ''
nosetests pyjade
'';
# No tests distributed. https://github.com/syrusakbary/pyjade/issues/262
doCheck = false;
meta = {
description = "Jade syntax template adapter for Django, Jinja2, Mako and Tornado templates";
homepage = "http://github.com/syrusakbary/pyjade";
license = licenses.mit;
maintainers = with maintainers; [ nand0p ];
platforms = platforms.all;
};
};
pytest = self.pytest_29;
pytest_27 = buildPythonPackage rec {