My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/pecan/default.nix

60 lines
972 B

{ 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 ];
};
}