depot/third_party/nixpkgs/pkgs/development/python-modules/pecan/default.nix
Default email 14910f5943 Project import generated by Copybara.
GitOrigin-RevId: 5aaed40d22f0d9376330b6fa413223435ad6fee5
2022-01-13 15:06:32 -05:00

60 lines
972 B
Nix

{ lib
, fetchPypi
, buildPythonPackage
, logutils
, Mako
, webtest
, pythonOlder
, pytestCheckHook
, genshi
, gunicorn
, jinja2
, six
, sqlalchemy
, virtualenv
}:
buildPythonPackage rec {
pname = "pecan";
version = "1.4.1";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-LL0O7btXR8BM3xjEquTxxunZUPOvcK8lRLB09+16BIA=";
};
propagatedBuildInputs = [
logutils
Mako
webtest
six
];
checkInputs = [
pytestCheckHook
genshi
gunicorn
jinja2
sqlalchemy
virtualenv
];
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 ];
};
}