d419639f9c
GitOrigin-RevId: 6b1057b452c55bb3b463f0d7055bc4ec3fd1f381
26 lines
732 B
Nix
26 lines
732 B
Nix
{ lib, buildPythonPackage, fetchPypi, six, chardet, nose
|
|
, django, jinja2, tornado, pyramid, pyramid_mako, Mako }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pypugjs";
|
|
version = "5.9.8";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "1iy8k56rbslxcylhamdik2bd6gqqirrix55mrdn29zz9gl6vg1xi";
|
|
};
|
|
|
|
propagatedBuildInputs = [ six chardet ];
|
|
checkInputs = [ nose django jinja2 tornado pyramid pyramid_mako Mako ];
|
|
|
|
checkPhase = ''
|
|
nosetests pypugjs
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "PugJS syntax template adapter for Django, Jinja2, Mako and Tornado templates";
|
|
homepage = "https://github.com/kakulukia/pypugjs";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ lopsided98 ];
|
|
};
|
|
}
|