summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authormst <mstenek@disroot.org>2026-02-16 17:00:00 -0700
committerSharlatan Hellseher <sharlatanus@gmail.com>2026-02-17 00:20:45 +0000
commitf3281394b59e0092f19064887565668575eb1550 (patch)
tree1d7fd7b672d8584a4ff100f0cd8af04456e830dd /gnu
parent597758eadcaa4b5670d6dbfdf72a8bd39187059c (diff)
gnu: Add python-sseclient-py.
* gnu/packages/python-web.scm (python-sseclient-py): New variable. Merges: https://codeberg.org/guix/guix/pulls/6361 Change-Id: Ic4f7747816b71aab93a030c30839b44da8186a2b Reviewed-by: Nguyễn Gia Phong <cnx@loang.net> Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com> Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/python-web.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 116b37c7fcf..d16bef0d7d8 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -13088,6 +13088,32 @@ SendGrid Web API v3 endpoints, including the new v3 /mail/send.")
"This package provides SSE plugin for Starlette.")
(license license:bsd-3)))
+(define-public python-sseclient-py
+ (package
+ (name "python-sseclient-py")
+ (version "1.9.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/mpetazzoni/sseclient")
+ (commit (string-append "sseclient-py-" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1yi2v8z89mygsr1vzyc4r3j7flr3jrh6a6kzqfdh86i5a5j5v280"))))
+ (build-system pyproject-build-system)
+ (native-inputs (list python-hatchling python-pytest))
+ (arguments
+ (list
+ #:test-backend #~'unittest
+ #:test-flags #~'("discover" "--verbose" "tests")))
+ (home-page "https://github.com/mpetazzoni/sseclient")
+ (synopsis "Pure-Python Server Side Events (SSE) client")
+ (description
+ "This package provides a Python client for SSE event sources that
+seamlessly integrates with @code{urllib3} and @code{requests}.")
+ (license license:asl2.0)))
+
(define-public python-starlette
(package
(name "python-starlette")