all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Roman Scherer <roman@burningswell.com>
To: 72783@debbugs.gnu.org
Cc: Roman Scherer <roman@burningswell.com>,
	Andrew Tropin <andrew@trop.in>,
	Katherine Cox-Buday <cox.katherine.e+guix@gmail.com>,
	Liliana Marie Prikler <liliana.prikler@gmail.com>
Subject: [bug#72783] [PATCH 2/2] gnu: Add emacs-plz-event-source.
Date: Sat, 24 Aug 2024 12:08:58 +0200	[thread overview]
Message-ID: <929dd0829fd64e39a027fe8cc115fb41a8a7cffa.1724493542.git.roman@burningswell.com> (raw)
In-Reply-To: <cover.1724493542.git.roman@burningswell.com>

* gnu/packages/emacs-xyz.scm (emacs-plz-event-source): New variable.

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

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 7ce112ea00..a3340f1a36 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -21488,6 +21488,30 @@ (define-public emacs-plz-media-type
 non-streaming media type formats.")
     (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.  It is used in the Emacs LLM library to handle
+server sent events.")
+    (license license:gpl3+)))
+
 (define-public emacs-ement
   (package
     (name "emacs-ement")
-- 
2.45.2





  parent reply	other threads:[~2024-08-24 10:11 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-24 10:05 [bug#72783] [PATCH 0/2] Add emacs-plz-media-type and emacs-plz-event-source Roman Scherer
2024-08-24 10:08 ` [bug#72783] [PATCH 1/2] gnu: Add emacs-plz-media-type Roman Scherer
2024-08-24 10:32   ` Liliana Marie Prikler
2024-08-24 11:19     ` Roman Scherer
2024-08-24 10:08 ` Roman Scherer [this message]
2024-08-24 11:17 ` [bug#72783] [PATCH v2 " Roman Scherer
2024-08-24 11:17   ` [bug#72783] [PATCH v2 2/2] gnu: Add emacs-plz-event-source Roman Scherer
2024-08-26 20:36 ` bug#72783: [PATCH 0/2] Add emacs-plz-media-type and emacs-plz-event-source Nicolas Goaziou via Guix-patches via

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=929dd0829fd64e39a027fe8cc115fb41a8a7cffa.1724493542.git.roman@burningswell.com \
    --to=roman@burningswell.com \
    --cc=72783@debbugs.gnu.org \
    --cc=andrew@trop.in \
    --cc=cox.katherine.e+guix@gmail.com \
    --cc=liliana.prikler@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.