From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <guix-patches-bounces+larch=yhetil.org@gnu.org>
Received: from mp11.migadu.com ([2001:41d0:8:6d80::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms5.migadu.com with LMTPS
	id 6Jg3C3auhWPhDAEAbAwnHQ
	(envelope-from <guix-patches-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Tue, 29 Nov 2022 08:02:14 +0100
Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp11.migadu.com with LMTPS
	id sOMzC3auhWMHXQEA9RJhRA
	(envelope-from <guix-patches-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Tue, 29 Nov 2022 08:02:14 +0100
Received: from lists.gnu.org (lists.gnu.org [209.51.188.17])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by aspmx1.migadu.com (Postfix) with ESMTPS id 9E77B8A57
	for <larch@yhetil.org>; Tue, 29 Nov 2022 08:02:13 +0100 (CET)
Received: from localhost ([::1] helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <guix-patches-bounces@gnu.org>)
	id 1ozud3-0002rl-AX; Tue, 29 Nov 2022 02:02:05 -0500
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 <Debian-debbugs@debbugs.gnu.org>)
 id 1ozud2-0002r9-FK
 for guix-patches@gnu.org; Tue, 29 Nov 2022 02:02:04 -0500
Received: from debbugs.gnu.org ([209.51.188.43])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1ozud2-0003jo-4M
 for guix-patches@gnu.org; Tue, 29 Nov 2022 02:02:04 -0500
Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1ozud2-0004o9-19
 for guix-patches@gnu.org; Tue, 29 Nov 2022 02:02:04 -0500
X-Loop: help-debbugs@gnu.org
Subject: [bug#59670] [PATCH 07/50] gnu: Add rust-askama-shared-0.12.
Resent-From: "(" <paren@disroot.org>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: guix-patches@gnu.org
Resent-Date: Tue, 29 Nov 2022 07:02:04 +0000
Resent-Message-ID: <handler.59670.B59670.166970529818215@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: followup 59670
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 59670@debbugs.gnu.org
Cc: "\(" <paren@disroot.org>
Received: via spool by 59670-submit@debbugs.gnu.org id=B59670.166970529818215
 (code B ref 59670); Tue, 29 Nov 2022 07:02:04 +0000
Received: (at 59670) by debbugs.gnu.org; 29 Nov 2022 07:01:38 +0000
Received: from localhost ([127.0.0.1]:53671 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1ozucb-0004je-KO
 for submit@debbugs.gnu.org; Tue, 29 Nov 2022 02:01:38 -0500
Received: from knopi.disroot.org ([178.21.23.139]:52634)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <paren@disroot.org>) id 1ozucE-0004er-C8
 for 59670@debbugs.gnu.org; Tue, 29 Nov 2022 02:01:15 -0500
Received: from localhost (localhost [127.0.0.1])
 by disroot.org (Postfix) with ESMTP id 142B74144D;
 Tue, 29 Nov 2022 08:01:14 +0100 (CET)
X-Virus-Scanned: SPAM Filter at disroot.org
Received: from knopi.disroot.org ([127.0.0.1])
 by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id aS6oLCAtBn2v; Tue, 29 Nov 2022 08:01:12 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail;
 t=1669705271; bh=M1+claYoo68dcjkMibDU5VIFR1iFt57O1xUe8qNtzNs=;
 h=From:To:Cc:Subject:Date:In-Reply-To:References:From;
 b=eSWby8MUbdwmvBr91ZPUL7GmigVyXbEICABx64APOh4E9po92Ic8nd/5ruhpptA4g
 ulr4uYLCqrZ0iQT6lqbLSfvut0DWvCtNsyFuYkRCSkGwDkK3jobzMs52JJ39m5HeSl
 5uxViwpfHatiU/TuT+1DpxzYTjw7eQUBQqFxdWfoGtOfe1P0dclUoOWug71coULFA8
 Q5dVkTzI+2hwl680YTgd5jF4JJHJth3RDvi8OGIHFHbjdetuR8dvoMuQ21jIj4B+HS
 Vci9cG9wyWRMeGxNIqW5KeUwWgQI9ESHABEmfu/eIKPudUwrqynd0lvgF9q97UiQ5h
 Vt3Fxqjv0ZLAw==
Date: Tue, 29 Nov 2022 07:00:21 +0000
Message-Id: <20221129070104.8007-7-paren@disroot.org>
In-Reply-To: <20221129070104.8007-1-paren@disroot.org>
References: <20221129070104.8007-1-paren@disroot.org>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
X-BeenThere: guix-patches@gnu.org
List-Id: <guix-patches.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>,
 <mailto:guix-patches-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/guix-patches>
List-Post: <mailto:guix-patches@gnu.org>
List-Help: <mailto:guix-patches-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>,
 <mailto:guix-patches-request@gnu.org?subject=subscribe>
Reply-to:  "\(" <paren@disroot.org>
X-ACL-Warn: ,  "\( via Guix-patches" <guix-patches@gnu.org>
From:  "\( via Guix-patches" via <guix-patches@gnu.org>
Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org
Sender: guix-patches-bounces+larch=yhetil.org@gnu.org
X-Migadu-Flow: FLOW_IN
X-Migadu-Country: US
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org;
	s=key1; t=1669705334;
	h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date:
	 message-id:message-id:to:to:cc:cc:mime-version:mime-version:
	 content-transfer-encoding:content-transfer-encoding:resent-cc:
	 resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to:
	 references:references:list-id:list-help:list-unsubscribe:
	 list-subscribe:list-post:dkim-signature;
	bh=RkSQcz7Pbb/fHXE9nOraYpAC8JwCy8XJw0ot6gALqFU=;
	b=ZE2tyoI9zqvhrYPw9xPlBw7P02b95mXivTXTME3gPO7gpuC3OcV9pzo7kSbJinZv+dDW8z
	aJijP/YwcD0zV54tLR/bWzQosD1YNoX2jU6I7cBdQjJisfAwRo3zupolmvt+tHgb6VCX0Z
	wPZ0BK416pYz9OF1RfFscOburr9YN4+RGQUHmEwDhd7PjR37StjtUYCjv5FVESIX6jMOWc
	jB1m6NY0FbubyhJukXemaQ4xe1s5nnh7K7GFUVsd1KjdfhCYPjhc4u8St7qRncABoBxrtn
	bPkL3aafurcj9UxQ8gvdrLi89OulJldaRiXbg7+D2ZREl5YjcdZuCBjfGBwsNw==
ARC-Seal: i=1; s=key1; d=yhetil.org; t=1669705334; a=rsa-sha256; cv=none;
	b=Wdmq9yC/5yxJx7BhR0jzuMOfyG+dJuaoWQtwSq7IyT09lBflLHlMNJSbaj8l5o2byMa6lE
	It1N6/Jyz24iAS4ee6XNl7l3RFELb0YJ0iEcM8sXMQFPkDCCe+gh2bKNcktBNofmaDy+SN
	8fDjyc1XtpQXi6hrC72IG0ISitYBHFa7q+ctwPfjSvRp+cNBnAX9NvElBeOR4qW3LssHrm
	vXxnlbXUvPGtopAgikPcctamwaJ2U180siki37ZnjixAiIaMpovyBB9trHeFY187vQ2VFi
	Uxnz7jUQ6Twe2+vbyHFtTdwC08SkrX4YjACLjN9BDwH6OorguY6MWAL6CJgX9Q==
ARC-Authentication-Results: i=1;
	aspmx1.migadu.com;
	dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=eSWby8MU;
	dmarc=pass (policy=none) header.from=gnu.org;
	spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"
X-Migadu-Spam-Score: -2.96
Authentication-Results: aspmx1.migadu.com;
	dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=eSWby8MU;
	dmarc=pass (policy=none) header.from=gnu.org;
	spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"
X-Migadu-Queue-Id: 9E77B8A57
X-Spam-Score: -2.96
X-Migadu-Scanner: scn1.migadu.com
X-TUID: saYhx9YbPzmu

* gnu/packages/crates-io.scm (rust-askama-shared-0.12): New
variable.
(rust-askama-shared-0.11): Inherit from RUST-ASKAMA-SHARED-0.12.
---
 gnu/packages/crates-io.scm | 86 +++++++++++++++++++++++++-------------
 1 file changed, 58 insertions(+), 28 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 87e970eb80..b00727553e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -3553,42 +3553,72 @@ (define-public rust-askama-escape-0.10
 extracted from Askama.")
     (license (list license:expat license:asl2.0))))
 
-(define-public rust-askama-shared-0.11
+(define-public rust-askama-shared-0.12
   (package
     (name "rust-askama-shared")
-    (version "0.11.1")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (crate-uri "askama_shared" version))
-       (file-name
-        (string-append name "-" version ".tar.gz"))
-       (sha256
-        (base32
-         "1g3ksf5is0qwx9rd5lxn5gbvxfcpby5gl9cahg26wl1w1xzbg0i5"))))
+    (version "0.12.2")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "askama_shared" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1l4fycmw65zyvfabf672sj2pc0ilfcj0y6a0csygq1wa26a2nwmz"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:skip-build? #t
-       #:cargo-inputs
-       (("rust-askama-escape" ,rust-askama-escape-0.10)
-        ("rust-humansize" ,rust-humansize-1)
-        ("rust-nom" ,rust-nom-6)
-        ("rust-num-traits" ,rust-num-traits-0.2)
-        ("rust-percent-encoding"
-         ,rust-percent-encoding-2)
-        ("rust-proc-macro2" ,rust-proc-macro2-1)
-        ("rust-quote" ,rust-quote-1)
-        ("rust-serde" ,rust-serde-1)
-        ("rust-serde-derive" ,rust-serde-derive-1)
-        ("rust-serde-json" ,rust-serde-json-1)
-        ("rust-serde-yaml" ,rust-serde-yaml-0.8)
-        ("rust-syn" ,rust-syn-1)
-        ("rust-toml" ,rust-toml-0.5))))
+     (list #:skip-build? #t
+           #:cargo-inputs
+           `(("rust-askama-escape" ,rust-askama-escape-0.10)
+             ("rust-comrak" ,rust-comrak-0.12)
+             ("rust-humansize" ,rust-humansize-1)
+             ("rust-mime" ,rust-mime-0.3)
+             ("rust-mime-guess" ,rust-mime-guess-2)
+             ("rust-nom" ,rust-nom-7)
+             ("rust-num-traits" ,rust-num-traits-0.2)
+             ("rust-percent-encoding"
+              ,rust-percent-encoding-2)
+             ("rust-proc-macro2" ,rust-proc-macro2-1)
+             ("rust-quote" ,rust-quote-1)
+             ("rust-serde" ,rust-serde-1)
+             ("rust-serde-json" ,rust-serde-json-1)
+             ("rust-serde-yaml" ,rust-serde-yaml-0.8)
+             ("rust-syn" ,rust-syn-1)
+             ("rust-toml" ,rust-toml-0.5))))
     (home-page "https://github.com/djc/askama")
     (synopsis "Shared code for Askama")
-    (description "This package provides a shared code for Askama.")
+    (description "This package provides shared code for Askama.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-askama-shared-0.11
+  (package
+    (inherit rust-askama-shared-0.12)
+    (name "rust-askama-shared")
+    (version "0.11.1")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "askama_shared" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1g3ksf5is0qwx9rd5lxn5gbvxfcpby5gl9cahg26wl1w1xzbg0i5"))))
+    (arguments
+     (list #:skip-build? #t
+           #:cargo-inputs
+           `(("rust-askama-escape" ,rust-askama-escape-0.10)
+             ("rust-humansize" ,rust-humansize-1)
+             ("rust-nom" ,rust-nom-6)
+             ("rust-num-traits" ,rust-num-traits-0.2)
+             ("rust-percent-encoding"
+              ,rust-percent-encoding-2)
+             ("rust-proc-macro2" ,rust-proc-macro2-1)
+             ("rust-quote" ,rust-quote-1)
+             ("rust-serde" ,rust-serde-1)
+             ("rust-serde-derive" ,rust-serde-derive-1)
+             ("rust-serde-json" ,rust-serde-json-1)
+             ("rust-serde-yaml" ,rust-serde-yaml-0.8)
+             ("rust-syn" ,rust-syn-1)
+             ("rust-toml" ,rust-toml-0.5))))))
+
 (define-public rust-askama-derive-0.10
   (package
     (name "rust-askama-derive")
-- 
2.38.1