From 983051488c582963059aedfd5bd5bda4b59bf8e8 Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Wed, 14 Jan 2026 16:15:55 +0100 Subject: [PATCH] gnu: Add python-httpx-sse. * gnu/packages/python-web.scm (python-httpx-sse): New variable. Change-Id: I69b12e54907e15fa7237060ca0f3df863e99cf32 Modified-by: Sharlatan Hellseher Signed-off-by: Sharlatan Hellseher --- gnu/packages/python-web.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 89f5d33e06..745a3b6a88 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -9953,6 +9953,36 @@ Plus all the standard features of requests: (modify-inputs (package-propagated-inputs python-httpx) (replace "python-httpcore" python-httpcore-bootstrap)))))) +(define-public python-httpx-sse + (package + (name "python-httpx-sse") + (version "0.4.3") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/florimondmanca/httpx-sse") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0zliqd1rkvc0mjppscvqmg8j17hsiwvxn439yhn6qbjvk5ydncz8")))) + (build-system pyproject-build-system) + (arguments + (list + ;; XXX: Avoids python-pytest-cov dependency. + #:test-flags #~(list "-c" "/dev/null"))) + (native-inputs + (list python-pytest + python-pytest-asyncio + python-setuptools + python-setuptools-scm + python-sse-starlette)) + (propagated-inputs (list python-httpx)) + (home-page "https://github.com/florimondmanca/httpx-sse") + (synopsis "Consume Server-Sent Event (SSE) messages with HTTPX.") + (description "Consume Server-Sent Event (SSE) messages with HTTPX.") + (license license:expat))) + (define-public python-wsgiprox (package (name "python-wsgiprox")