13 # optional-dependencies
23 buildPythonPackage rec {
28 disabled = pythonOlder "3.7";
30 src = fetchFromGitHub {
33 rev = "refs/tags/${version}";
34 hash = "sha256-Dq/mrQwo3II6DBvYfD1FHsKHaIlyHlJCZ+ZyrM4Efe0=";
37 build-system = [ setuptools ];
39 dependencies = [ packaging ];
41 optional-dependencies = {
43 eventlet = [ eventlet ];
44 tornado = [ tornado ];
46 setproctitle = [ setproctitle ];
49 pythonImportsCheck = [ "gunicorn" ];
54 ] ++ lib.flatten (lib.attrValues optional-dependencies);
57 description = "gunicorn 'Green Unicorn' is a WSGI HTTP Server for UNIX, fast clients and sleepy applications";
58 homepage = "https://github.com/benoitc/gunicorn";
59 changelog = "https://github.com/benoitc/gunicorn/releases/tag/${version}";
60 license = lib.licenses.mit;
61 maintainers = with lib.maintainers; [ getchoo ];
62 mainProgram = "gunicorn";