2017-08-09 04:33:54 +00:00
|
|
|
{ stdenv
|
|
|
|
, fetchPypi
|
|
|
|
, buildPythonPackage
|
|
|
|
# Python deps
|
|
|
|
, singledispatch
|
|
|
|
, logutils
|
|
|
|
, webtest
|
|
|
|
, Mako
|
|
|
|
, genshi
|
|
|
|
, Kajiki
|
|
|
|
, sqlalchemy
|
|
|
|
, gunicorn
|
|
|
|
, jinja2
|
|
|
|
, virtualenv
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pecan";
|
2018-02-03 09:53:36 +00:00
|
|
|
version = "1.3.2";
|
2017-08-09 04:33:54 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-02-03 09:53:36 +00:00
|
|
|
sha256 = "24f06cf88a488b75f433e62b33c1c97e4575d0cd91eec9eec841a81cecfd6de3";
|
2017-08-09 04:33:54 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ singledispatch logutils ];
|
|
|
|
buildInputs = [
|
|
|
|
webtest Mako genshi Kajiki sqlalchemy gunicorn jinja2 virtualenv
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Pecan";
|
2018-03-25 05:04:25 +00:00
|
|
|
homepage = "https://github.com/pecan/pecan";
|
2017-08-09 04:33:54 +00:00
|
|
|
};
|
|
|
|
}
|