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

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




  reply	other threads:[~2024-08-24 10:34 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 [this message]
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

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

  git send-email \
    --in-reply-to=cc816768da1cb076943c53b82f8c085e4e050d95.camel@gmail.com \
    --to=liliana.prikler@gmail.com \
    --cc=72783@debbugs.gnu.org \
    --cc=andrew@trop.in \
    --cc=cox.katherine.e+guix@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 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.