mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 14:22:50 +03:00
pythonPackages.pyjade: init at 4.0.0
Tested on Linux - python 2.7 - python 3.5
This commit is contained in:
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 {
|
||||
|
Loading…
Reference in New Issue
Block a user