at 25.11-pre 1.0 kB view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 genshi, 6 gunicorn, 7 jinja2, 8 mako, 9 pytestCheckHook, 10 pythonOlder, 11 setuptools, 12 sqlalchemy, 13 virtualenv, 14 webob, 15 webtest, 16}: 17 18buildPythonPackage rec { 19 pname = "pecan"; 20 version = "1.6.0"; 21 pyproject = true; 22 23 disabled = pythonOlder "3.8"; 24 25 src = fetchPypi { 26 inherit pname version; 27 hash = "sha256-X9RGlYPu0t7Te00QpHDhGl3j88lj3IeYTncuJcVv7T4="; 28 }; 29 30 build-system = [ setuptools ]; 31 32 dependencies = [ 33 mako 34 setuptools 35 webob 36 ]; 37 38 nativeCheckInputs = [ 39 genshi 40 gunicorn 41 jinja2 42 pytestCheckHook 43 sqlalchemy 44 virtualenv 45 webtest 46 ]; 47 48 pytestFlagsArray = [ "--pyargs pecan" ]; 49 50 pythonImportsCheck = [ "pecan" ]; 51 52 meta = with lib; { 53 description = "WSGI object-dispatching web framework"; 54 homepage = "https://www.pecanpy.org/"; 55 changelog = "https://github.com/pecan/pecan/releases/tag/${version}"; 56 license = licenses.bsd3; 57 maintainers = with maintainers; [ applePrincess ]; 58 }; 59}