diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2026-05-07 07:26:35 +0200 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-05-17 14:27:31 +0100 |
| commit | bbb9400c4c9d51eefee41e121dfe046941c7d712 (patch) | |
| tree | 7f1ae7ecd072f6ae81380bc18d38b1ae387a3423 /gnu/packages/python-web.scm | |
| parent | ccc04fa4254a0aefa5c644b6699fe6a77a427d70 (diff) | |
gnu: Add python-hypercorn.
* gnu/packages/python-web.scm (python-hypercorn): New variable.
Relates-to: guix/guix!8591
Change-Id: I3880669d081e4939143d7f5e040f107d566560db
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-web.scm')
| -rw-r--r-- | gnu/packages/python-web.scm | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index f483be7e31..cdc1bd90a7 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -4023,6 +4023,47 @@ websites. It automatically stores and sends cookies, follows redirects, and can follow links and submit forms. It doesn’t do JavaScript.") (license license:expat))) +(define-public python-hypercorn + (package + (name "python-hypercorn") + (version "0.18.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/pgjones/hypercorn") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0jdi05n5isxn0rysq242p198lz03gbwsnizzb9yp6rxr7ajapns4")))) + (build-system pyproject-build-system) + (propagated-inputs + (list python-aioquic + python-h11 + python-h2 + python-priority + python-pydata-sphinx-theme + python-sphinxcontrib-mermaid + python-tomli + python-trio + python-typing-extensions + python-uvloop + python-wsproto)) + (native-inputs + (list nss-certs-for-test + python-httpx + python-pdm-backend + python-pytest + python-pytest-asyncio + python-pytest-cov + python-pytest-trio)) + (home-page "https://github.com/pgjones/hypercorn") + (synopsis "ASGI Server based on Hyper libraries") + (description + "This package provides an ASGI (Asynchronous Server Gateway Interface) +Server based on Hyper libraries and inspired by @code{python-gunicorn}.") + (license license:expat))) + (define-public python-hyperframe (package (name "python-hyperframe") |
