From patchwork Sat Aug 24 10:08:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Roman Scherer X-Patchwork-Id: 30298 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 5A6EB27BBEA; Sat, 24 Aug 2024 11:10:26 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_VALIDITY_CERTIFIED, RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 1755727BBE2 for ; Sat, 24 Aug 2024 11:10:25 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1shnis-000714-0t; Sat, 24 Aug 2024 06:10:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1shniq-00070v-IN for guix-patches@gnu.org; Sat, 24 Aug 2024 06:10:16 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1shnio-00042k-Fu for guix-patches@gnu.org; Sat, 24 Aug 2024 06:10:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=eeibD9DdgnzfNkDli6ATLHteo5LsT/Kj07+6ZH3x5R4=; b=Rgsns/UrTs1fcrBJyz6PPLpVyrLqHHELWKupI4aqYaZDtihKSgFmeMdvoZQKE62gEJwaHrl8lcAMqtEmvyTND4OGKY1ZXW3fDxHX2W3xbTUZzsJmD0Tj96IHkuB82hlByyt8oxv2GDYfPQefrJRZjc0nWGQr22ZkmuOt9iIvCOR7JGOlD1LOzSLgh/+xpUi6AXOYehhVuC5lBx6Sl5Q9U7SsOHi2etLxbTRwWv3Wj4/kLf36KMooRbYsMkhKGqxQCWWjy6Uf7BvR3br4rEL5X2QZqHufC2mX8hcosrxQQfkJYZwhRQtUkgmcRUuGyCEeNreILPrgDNE9ikR4r9gjgQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1shnja-0001OH-6U; Sat, 24 Aug 2024 06:11:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72783] [PATCH 1/2] gnu: Add emacs-plz-media-type. Resent-From: Roman Scherer Original-Sender: "Debbugs-submit" Resent-CC: andrew@trop.in, cox.katherine.e+guix@gmail.com, liliana.prikler@gmail.com, guix-patches@gnu.org Resent-Date: Sat, 24 Aug 2024 10:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72783 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72783@debbugs.gnu.org Cc: Roman Scherer , Andrew Tropin , Katherine Cox-Buday , Liliana Marie Prikler X-Debbugs-Original-Xcc: Andrew Tropin , Katherine Cox-Buday , Liliana Marie Prikler Received: via spool by 72783-submit@debbugs.gnu.org id=B72783.17244942615341 (code B ref 72783); Sat, 24 Aug 2024 10:11:02 +0000 Received: (at 72783) by debbugs.gnu.org; 24 Aug 2024 10:11:01 +0000 Received: from localhost ([127.0.0.1]:40531 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1shnjZ-0001O2-7J for submit@debbugs.gnu.org; Sat, 24 Aug 2024 06:11:01 -0400 Received: from mail-ed1-f46.google.com ([209.85.208.46]:55330) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1shnjX-0001No-JZ for 72783@debbugs.gnu.org; Sat, 24 Aug 2024 06:11:00 -0400 Received: by mail-ed1-f46.google.com with SMTP id 4fb4d7f45d1cf-5bed83488b6so3452901a12.2 for <72783@debbugs.gnu.org>; Sat, 24 Aug 2024 03:10:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=burningswell-com.20230601.gappssmtp.com; s=20230601; t=1724494144; x=1725098944; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=eeibD9DdgnzfNkDli6ATLHteo5LsT/Kj07+6ZH3x5R4=; b=Og4tysu5r4IZ2ON3chSkvEJYPkjHPUEOeT9++dscPUAWrcAqAM/3lwvgaVCkRrNtxR 69kAGcIyJf/5/YxlndvloGdW+ZVMYPUV3HWhBlcujY6SPNqQ2+4C+8X4nPh04f9TQbI6 Ywkl+T1U7bHud+BJRc3TfG9yTaocytiKB7beQKBA9UynwYGjT6xoKNXiGYh7yx37Vs28 Ttvd4PB6GJLs+sSUZmJH0w4ARpf1q1WWubJ7hKRH7jy4j+l1BAdoLDrUsdkigGsHo4CY uG+uxiGvgaAw1KRGlaGs5/Sf2TfBHTxBVWlkyXJDiYv17yDIljdEN5tLbFKOStgFoGEN V0/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724494144; x=1725098944; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=eeibD9DdgnzfNkDli6ATLHteo5LsT/Kj07+6ZH3x5R4=; b=Bm5JrlnxS8JL047Qi5NI8BtRmLWMyXGb3+Q8LCmwseY5SbXjrCLY/6mufTVW+Utsy9 61/uDqsd1HuIz2aKwM5Wy2P4eTpMFdlyqxaftbds5JYJ+H4wsTu/GowX8OhRGwWdfV8p kY4sm3L7z8PHQfEv+efEOcFe+XBGYBKKFKVBWozBsV+GcL8iy2LcZCov1nqG7RqDZ5Qa I/fZWWL+fvquZw7Ex8HMiV5Xj/ZidqkcNb6BjgzqA11USUxbqqJUd2YGnEOvOtwh3jt/ r7R377g3WYFyJ1qDW0nz45MhEz7rolV8CoIDXDc0AMNxBW0nQHhIHsk9PcXoCGFcpDbp goZA== X-Gm-Message-State: AOJu0YwPAvbwxY9REeqb3NC/PDRUq6mfJ65bbRffdktlrS+otPJo+liU +cUJFRQYBWvLNYp04/Vm46Y04NrK+MnDa4z9R4azqSDGEwXmS+ne0dUN07oDthtvh1jkKqXF8v/ A X-Google-Smtp-Source: AGHT+IFvnriYpvdTNH9yTAH09gx2WMBbYjkdxGC/tVOPxtQkfzgQ32UMWseUCKzkaP0vvAA6MbMipg== X-Received: by 2002:a05:6402:430c:b0:58b:585b:42a2 with SMTP id 4fb4d7f45d1cf-5c0891a92a6mr2808979a12.38.1724494144070; Sat, 24 Aug 2024 03:09:04 -0700 (PDT) Received: from localhost.localdomain ([2a01:599:105:be87:b368:5404:323a:3606]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5c0515a97bdsm3119798a12.88.2024.08.24.03.09.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Aug 2024 03:09:03 -0700 (PDT) From: Roman Scherer Date: Sat, 24 Aug 2024 12:08:57 +0200 Message-ID: <17fb085aea5d4dba863c6380f2beb263900c8a3b.1724493542.git.roman@burningswell.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * 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")