19 buildPythonPackage rec {
22 disabled = pythonOlder "3.7";
25 src = fetchFromGitLab {
29 sha256 = "sha256-fIjw5A6SvFUv8cU7xunVlPYphv+glypY4pzvHNifYLQ=";
36 propagatedBuildInputs = [ wsproto toml h2 priority ]
37 ++ lib.optionals (pythonOlder "3.8") [ typing-extensions ];
45 ] ++ lib.optionals (pythonOlder "3.8") [ mock ];
48 "--asyncio-mode=legacy"
51 pythonImportsCheck = [ "hypercorn" ];
54 homepage = "https://pgjones.gitlab.io/hypercorn/";
55 description = "The ASGI web server inspired by Gunicorn";
56 license = licenses.mit;
57 maintainers = with maintainers; [ dgliwka ];