diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2026-01-14 16:15:55 +0100 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2026-02-07 12:28:52 +0100 |
| commit | 983051488c582963059aedfd5bd5bda4b59bf8e8 (patch) | |
| tree | 58b947e22aa6007370cf773e6e48b7704da3628e | |
| parent | 9dd10b45664c62e565a32872aadee706c44828be (diff) | |
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>
| -rw-r--r-- | gnu/packages/python-web.scm | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 89f5d33e06e..745a3b6a888 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") |
