guix_mirror_bot pushed a commit to branch python-team
in repository guix.

commit 76fa918a47c99bfe8a968fd8375743a86acabda3
Author: Nicolas Graves <[email protected]>
AuthorDate: Wed Jan 14 16:15:55 2026 +0100

    gnu: Add python-httpx-sse.
    
    * gnu/packages/python-web.scm (python-httpx-sse): New variable.
    
    Change-Id: I69b12e54907e15fa7237060ca0f3df863e99cf32
    Modified-by: Sharlatan Hellseher <[email protected]>
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 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")

Reply via email to