1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

gnu: Add python-httpx-sse.

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

Change-Id: I69b12e54907e15fa7237060ca0f3df863e99cf32
Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Nicolas Graves
2026-01-14 16:15:55 +01:00
committed by Andreas Enge
parent 9dd10b4566
commit 983051488c

View File

@@ -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")