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 1/2] gnu: Add emacs-plz-media-type.
Date: Sat, 24 Aug 2024 12:08:57 +0200 [thread overview]
Message-ID: <17fb085aea5d4dba863c6380f2beb263900c8a3b.1724493542.git.roman@burningswell.com> (raw)
In-Reply-To: <cover.1724493542.git.roman@burningswell.com>
* gnu/packages/emacs-xyz.scm (emacs-plz-media-type): New variable.
Change-Id: Ib38d91e1cc642afd34b480967a34e0db0e28e4c6
---
gnu/packages/emacs-xyz.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index cb7269d6b9..7ce112ea00 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -21460,6 +21460,34 @@ (define-public emacs-plz
which avoids some of the issues with using Emacs’s built-in Url library.")
(license license:gpl3+)))
+(define-public emacs-plz-media-type
+ (package
+ (name "emacs-plz-media-type")
+ (version "0.2.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/r0man/plz-media-type")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1bxrinp276rzz1jwnqrs5xginm96vzxr0b1k5q3y56lnin8sp18x"))))
+ (build-system emacs-build-system)
+ (propagated-inputs (list emacs-plz))
+ (arguments (list #:tests? #f))
+ (home-page "https://github.com/r0man/plz-media-type")
+ (synopsis "HTTP media type extension for plz.el")
+ (description "The plz-media-type library enhances MIME type
+handling for HTTP requests within Emacs. It leverages the plz.el HTTP
+library for networking calls and introduces a mechanism to process
+responses based on the content type header. This library defines
+various classes and methods for parsing and processing standard MIME
+types, including JSON, XML, HTML, and binary data. It is used in the
+Emacs LLM library to handle decoding of various streaming and
+non-streaming media type formats.")
+ (license license:gpl3+)))
+
(define-public emacs-ement
(package
(name "emacs-ement")
--
2.45.2
next prev parent reply other threads:[~2024-08-24 10:10 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 ` Roman Scherer [this message]
2024-08-24 10:32 ` [bug#72783] [PATCH 1/2] gnu: Add emacs-plz-media-type Liliana Marie Prikler
2024-08-24 11:19 ` Roman Scherer
2024-08-24 10:08 ` [bug#72783] [PATCH 2/2] gnu: Add emacs-plz-event-source Roman Scherer
2024-08-24 11:17 ` [bug#72783] [PATCH v2 1/2] gnu: Add emacs-plz-media-type 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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=17fb085aea5d4dba863c6380f2beb263900c8a3b.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 public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).