diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 773d3b05446..374b7720b71 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -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 {