From b0b9653c28276492de639c6cd1707023fc88014e Mon Sep 17 00:00:00 2001 From: Roman Scherer Date: Sat, 24 Aug 2024 13:17:26 +0200 Subject: [PATCH] gnu: Add emacs-plz-event-source. * gnu/packages/emacs-xyz.scm (emacs-plz-event-source): New variable. Change-Id: I66fc237fb191c0406fcf2d08c2938264e2dd9b95 Signed-off-by: Nicolas Goaziou --- 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 485ffeac59..6ac1d3496c 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -21513,6 +21513,30 @@ processing standard MIME types, including JSON, XML, HTML, and 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") + (description + "The @code{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")