2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
fetchPypi,
|
|
|
|
buildPythonPackage,
|
|
|
|
logutils,
|
|
|
|
mako,
|
|
|
|
webob,
|
|
|
|
webtest,
|
|
|
|
pythonOlder,
|
|
|
|
pytestCheckHook,
|
|
|
|
genshi,
|
|
|
|
gunicorn,
|
|
|
|
jinja2,
|
|
|
|
sqlalchemy,
|
|
|
|
virtualenv,
|
|
|
|
setuptools,
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pecan";
|
2023-08-04 22:07:22 +00:00
|
|
|
version = "1.5.1";
|
2022-01-13 20:06:32 +00:00
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.6";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-08-04 22:07:22 +00:00
|
|
|
hash = "sha256-YGMnLV+GB3P7tLSyrhsJ2oyVQGLvhxFQwGz9sjkdk1U=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2020-09-25 04:45:31 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
logutils
|
2023-03-15 16:39:30 +00:00
|
|
|
mako
|
2023-08-04 22:07:22 +00:00
|
|
|
webob
|
|
|
|
setuptools
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [
|
2020-09-25 04:45:31 +00:00
|
|
|
pytestCheckHook
|
|
|
|
genshi
|
|
|
|
gunicorn
|
|
|
|
jinja2
|
|
|
|
sqlalchemy
|
|
|
|
virtualenv
|
2023-08-04 22:07:22 +00:00
|
|
|
webtest
|
2022-01-13 20:06:32 +00:00
|
|
|
];
|
2020-09-25 04:45:31 +00:00
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
pytestFlagsArray = [ "--pyargs pecan" ];
|
2022-01-13 20:06:32 +00:00
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
pythonImportsCheck = [ "pecan" ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-09-25 04:45:31 +00:00
|
|
|
changelog = "https://pecan.readthedocs.io/en/latest/changes.html";
|
2022-01-13 20:06:32 +00:00
|
|
|
description = "WSGI object-dispatching web framework";
|
|
|
|
homepage = "https://www.pecanpy.org/";
|
|
|
|
license = licenses.bsd3;
|
2021-06-28 23:13:55 +00:00
|
|
|
maintainers = with maintainers; [ applePrincess ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|