summaryrefslogtreecommitdiff
path: root/gnu/packages/python-web.scm
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2026-05-07 06:57:38 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2026-05-17 14:27:31 +0100
commit183f37b1dc7f0613d7f886fa796d710bd6bc3bc8 (patch)
tree6d91345b294bc5f91f671edb4b09d0b061bac421 /gnu/packages/python-web.scm
parent2a77a21e8603d12334c3bbbc3b936c04791850ba (diff)
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>
Diffstat (limited to 'gnu/packages/python-web.scm')
-rw-r--r--gnu/packages/python-web.scm32
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 1c646bba3b..59ca4dca6b 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -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")