20 buildPythonPackage rec {
25 disabled = pythonOlder "3.11"; # missing taskgroup dependency
27 src = fetchFromGitHub {
31 hash = "sha256-AtSMURz1rOr6VTQ7L2EQ4XZeKVEGTPXTbs3u7IhnZo8";
35 sed -i "/^addopts/d" pyproject.toml
38 build-system = [ poetry-core ];
47 optional-dependencies = {
58 ] ++ lib.flatten (lib.attrValues optional-dependencies);
60 __darwinAllowLocalNetworking = true;
62 pythonImportsCheck = [ "hypercorn" ];
65 changelog = "https://github.com/pgjones/hypercorn/blob/${src.tag}/CHANGELOG.rst";
66 homepage = "https://github.com/pgjones/hypercorn";
67 description = "ASGI web server inspired by Gunicorn";
68 mainProgram = "hypercorn";
69 license = licenses.mit;
70 maintainers = with maintainers; [ dgliwka ];