From: Roman Scherer <roman.scherer@burningswell.com>
To: Liliana Marie Prikler <liliana.prikler@gmail.com>
Cc: Roman Scherer <roman@burningswell.com>,
Katherine Cox-Buday <cox.katherine.e+guix@gmail.com>,
72783@debbugs.gnu.org, Andrew Tropin <andrew@trop.in>
Subject: [bug#72783] [PATCH 1/2] gnu: Add emacs-plz-media-type.
Date: Sat, 24 Aug 2024 13:19:01 +0200 [thread overview]
Message-ID: <86frqu9niy.fsf@burningswell.com> (raw)
In-Reply-To: <cc816768da1cb076943c53b82f8c085e4e050d95.camel@gmail.com> (Liliana Marie Prikler's message of "Sat, 24 Aug 2024 12:32:44 +0200")
[-- Attachment #1: Type: text/plain, Size: 2405 bytes --]
Liliana Marie Prikler <liliana.prikler@gmail.com> writes:
Hi Liliana,
thanks for the review. I removed that bit and sent v2 of the series.
Thanks, Roman.
> Am Samstag, dem 24.08.2024 um 12:08 +0200 schrieb Roman Scherer:
>> * 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."
> SGTM.
>> It is used in the
>> +Emacs LLM library to handle decoding of various streaming and
>> +non-streaming media type formats.")
> I'm not sure whether this bit is necessary. There are hopefully useful
> technologies out there that also benefit from plz.
>
> Cheers
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 528 bytes --]
next prev parent reply other threads:[~2024-08-24 11:20 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 [this message]
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=86frqu9niy.fsf@burningswell.com \
--to=roman.scherer@burningswell.com \
--cc=72783@debbugs.gnu.org \
--cc=andrew@trop.in \
--cc=cox.katherine.e+guix@gmail.com \
--cc=liliana.prikler@gmail.com \
--cc=roman@burningswell.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).