1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-07-31 15:11:33 +02:00

gnu: Add python-httpx-ws.

* gnu/packages/python-web.scm (python-httpx-ws): New variable.

Relates-to: guix/guix!8591
Change-Id: I977bbad31cfab4a4f8684acb6a32ad73587276a0
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Nicolas Graves
2026-05-07 06:57:38 +02:00
committed by Sharlatan Hellseher
parent 2a77a21e86
commit 183f37b1dc
+32
View File
@@ -10379,6 +10379,38 @@ Plus all the standard features of requests:
(description "Consume Server-Sent Event (SSE) messages with HTTPX.")
(license license:expat)))
(define-public python-httpx-ws
(package
(name "python-httpx-ws")
(version "0.9.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/frankie567/httpx-ws")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1hin6fndvfnx3mjgy30x0ghgjalikxavyj24klcknnly9sqzg83v"))))
(build-system pyproject-build-system)
(propagated-inputs
(list python-anyio
python-httpcore
python-httpx
python-wsproto))
(native-inputs
(list nss-certs-for-test
python-hatch-regex-commit
python-hatchling
python-pytest
python-pytest-cov
python-starlette
python-uvicorn))
(home-page "https://github.com/frankie567/httpx-ws")
(synopsis "WebSockets support for HTTPX")
(description "This package provides @code{WebSockets} support for HTTPX.")
(license license:expat)))
(define-public python-wsgiprox
(package
(name "python-wsgiprox")