summary refs log blame commit diff
path: root/pkgs/development/python-modules/pypugjs/default.nix
blob: 9b19c4c8a2614984c85adb8324ff5bec5418064b (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                        



                                                         
                     
 

                          
                                                                                

    






                                                                         
                    





                                                                                                 
{ lib, buildPythonPackage, fetchPypi, six, chardet, nose
, django, jinja2, tornado, pyramid, pyramid_mako, Mako }:

buildPythonPackage rec {
  pname = "pypugjs";
  version = "5.9.10";

  src = fetchPypi {
    inherit pname version;
    sha256 = "082dae87d44e184030b66da9ea9bd1a0209f86c089d8f2bd61064b97a7511a28";
  };

  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 ];
  };
}