2021-02-16 22:17:34 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, six, chardet, nose
|
2020-12-05 00:26:10 +00:00
|
|
|
, django, jinja2, tornado, pyramid, pyramid_mako, Mako }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pypugjs";
|
2021-03-07 00:01:30 +00:00
|
|
|
version = "5.9.9";
|
2020-12-05 00:26:10 +00:00
|
|
|
|
2020-12-09 06:17:16 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-03-07 00:01:30 +00:00
|
|
|
sha256 = "0s0a239940z6rsssa13yz6pfkjk4300j35hs7qysyz45f3ixq19j";
|
2020-12-05 00:26:10 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ six chardet ];
|
|
|
|
checkInputs = [ nose django jinja2 tornado pyramid pyramid_mako Mako ];
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
nosetests pypugjs
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-12-05 00:26:10 +00:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|