2021-01-25 09:26:54 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, fetchpatch, six, chardet, nose
|
2020-12-05 01:26:10 +01:00
|
|
|
, django, jinja2, tornado, pyramid, pyramid_mako, Mako }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pypugjs";
|
2020-12-09 07:17:16 +01:00
|
|
|
version = "5.9.8";
|
2020-12-05 01:26:10 +01:00
|
|
|
|
2020-12-09 07:17:16 +01:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "1iy8k56rbslxcylhamdik2bd6gqqirrix55mrdn29zz9gl6vg1xi";
|
2020-12-05 01:26:10 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ six chardet ];
|
|
|
|
checkInputs = [ nose django jinja2 tornado pyramid pyramid_mako Mako ];
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
nosetests pypugjs
|
|
|
|
'';
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-12-05 01:26:10 +01: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 ];
|
|
|
|
};
|
|
|
|
}
|