diff mbox series

[bug#72783,v2,2/2] gnu: Add emacs-plz-event-source.

Message ID 8c305df12168678ade3160ca89ff6c00e535d9b4.1724498159.git.roman@burningswell.com
State New
Headers show
Series [bug#72783,v2,1/2] gnu: Add emacs-plz-media-type. | expand

Commit Message

Roman Scherer Aug. 24, 2024, 11:17 a.m. UTC
* gnu/packages/emacs-xyz.scm (emacs-plz-event-source): New variable.

Change-Id: I66fc237fb191c0406fcf2d08c2938264e2dd9b95
---
 gnu/packages/emacs-xyz.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 8f78926393..cc845588f1 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -21486,6 +21486,29 @@  (define-public emacs-plz-media-type
 binary data, in a streaming and non-streaming way.")
     (license license:gpl3+)))
 
+(define-public emacs-plz-event-source
+  (package
+    (name "emacs-plz-event-source")
+    (version "0.1.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/r0man/plz-event-source")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1rg3dmaqnhzvzqsyfnk3y77s88jrjpwpzkj1fyz40j8b184q3qcs"))))
+    (build-system emacs-build-system)
+    (propagated-inputs (list emacs-plz-media-type))
+    (arguments (list #:tests? #f))
+    (home-page "https://github.com/r0man/plz-event-source")
+    (synopsis "Server-Sent Events extension for plz.el")
+    (description "The plz-event-source library provides a @code{plz-media-type}, a
+parser and an event source implementation for the @acronym{SSE, Server
+Sent Event} protocol.")
+    (license license:gpl3+)))
+
 (define-public emacs-ement
   (package
     (name "emacs-ement")