nixpkgs/pkgs/development/python-modules/pecan/default.nix
Lein Matsumaru f87a14534e
python310Packages.pecan: 1.4.2 -> 1.5.1
As of 1.5 pecan only supports sqlalchemy 2.0.
2023-07-29 00:13:29 +00:00

63 lines
1008 B
Nix

{ lib
, fetchPypi
, buildPythonPackage
, logutils
, mako
, webob
, webtest
, pythonOlder
, pytestCheckHook
, genshi
, gunicorn
, jinja2
, sqlalchemy
, virtualenv
, setuptools
}:
buildPythonPackage rec {
pname = "pecan";
version = "1.5.1";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-YGMnLV+GB3P7tLSyrhsJ2oyVQGLvhxFQwGz9sjkdk1U=";
};
propagatedBuildInputs = [
logutils
mako
webob
setuptools
];
nativeCheckInputs = [
pytestCheckHook
genshi
gunicorn
jinja2
sqlalchemy
virtualenv
webtest
];
pytestFlagsArray = [
"--pyargs pecan"
];
pythonImportsCheck = [
"pecan"
];
meta = with lib; {
changelog = "https://pecan.readthedocs.io/en/latest/changes.html";
description = "WSGI object-dispatching web framework";
homepage = "https://www.pecanpy.org/";
license = licenses.bsd3;
maintainers = with maintainers; [ applePrincess ];
};
}