depot/third_party/nixpkgs/pkgs/development/python-modules/pecan/default.nix
Default email 5e9e1146e1 Project import generated by Copybara.
GitOrigin-RevId: 18036c0be90f4e308ae3ebcab0e14aae0336fe42
2023-08-05 00:07:22 +02:00

62 lines
1,008 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 ];
};
}