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