From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <guix-patches-bounces+larch=yhetil.org@gnu.org>
Received: from mp2.migadu.com ([2001:41d0:403:58f0::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms13.migadu.com with LMTPS
	id IBeOF0XZgWdazgAAe85BDQ:P1
	(envelope-from <guix-patches-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Sat, 11 Jan 2025 02:36:53 +0000
Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp2.migadu.com with LMTPS
	id IBeOF0XZgWdazgAAe85BDQ
	(envelope-from <guix-patches-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Sat, 11 Jan 2025 03:36:53 +0100
X-Envelope-To: larch@yhetil.org
Authentication-Results: aspmx1.migadu.com;
	dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=f373kMam;
	dkim=fail ("headers rsa verify failed") header.d=struct.foo header.s=fm1 header.b="K Q65E46";
	dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=HiDYK1zs;
	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";
	dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=struct.foo (policy=none)
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org;
	s=key1; t=1736563008;
	h=from:from:sender:sender: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=b7NbAkAaEYhuy8vdLMA3V4P/Tx1o4quM5EF/O/rFaxo=;
	b=qHVZrc+/K1G0TTb1AVVR7HCWL5/AjZsUmp2pKAb7U51GcR7Y3YFKS4M/HD1ZBo+s8Qjthf
	VHzIoOymFEvz5tC8WvN5jSS3Y8DcKbuxvsmnuYvXpHyTjNWNlu8Nbuu34wAUTTa8keCRg2
	8dxzq4xgv+D7gH3ieEtFwO0OoHu8H1yX2lLnJK4tJvJpInyX8vjqHWiGGND+bNjJIhMMyt
	345YcBnWA8sxthxMmQgxBbVtzLXyKZ7dfQMp9GVaZUC7WBuU5V+QR+1teM9fLcTAsdP7JX
	hl75Ma8G5tOHuucJslRs6UY5Uty1L/ruF+t+QdvgJpGdSoIYpn+fYzPsaCPIug==
ARC-Authentication-Results: i=1;
	aspmx1.migadu.com;
	dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=f373kMam;
	dkim=fail ("headers rsa verify failed") header.d=struct.foo header.s=fm1 header.b="K Q65E46";
	dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=HiDYK1zs;
	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";
	dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=struct.foo (policy=none)
ARC-Seal: i=1; s=key1; d=yhetil.org; t=1736563008; a=rsa-sha256; cv=none;
	b=jXxRfuDmPuC8cUOP73UAYH6l3UIfaNEQxkwDDlmT0+6Hy95HfVuA1wi93oG1aOwVEYiVMN
	koeq3+GkU1yAq6PdgwfRSevZoSqk13/ArP71XWJoh/S+nf0PRiaZMHrUqMGWiFz9GNqPQ9
	1Pe95YMOJvj0pOeXf56Xr19gf6KEqXX977Nv7tjUh6a+WiVozx/V8sukBmuEbLpF1F44V3
	dYbYLZVeyjlFmpg3EI4gy492NQM00fLRmQIL5Ii5jNZ1mVflAqjHkjE1q+gDjZUxG2DsLz
	HHuQ/Fc3LRku8cW2dXHqOE2DVAdQcvI+hqTNqHeiIvaSzyLkQ1r7ZfVw8SHx1g==
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 26DFA7AE7D
	for <larch@yhetil.org>; Sat, 11 Jan 2025 03:36:48 +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 1tWQpR-0001gT-LS; Fri, 10 Jan 2025 21:02:21 -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 1tWQpP-0001fx-S4
 for guix-patches@gnu.org; Fri, 10 Jan 2025 21:02:20 -0500
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 <Debian-debbugs@debbugs.gnu.org>)
 id 1tWQpP-0007Zh-E6
 for guix-patches@gnu.org; Fri, 10 Jan 2025 21:02:19 -0500
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=b7NbAkAaEYhuy8vdLMA3V4P/Tx1o4quM5EF/O/rFaxo=; 
 b=f373kMamhQjGusnNmltRroJ99+iqPWguBo2ZqSmBe4rtLFXSGRFUAzPSOIkxhXfcsiaAGLmS5ga1FJi4gft3iVn5roItfyG4FMZrpiRJmAg6gz8prdrP1Td89corFGM/zePQlQFipxLOPm3bMGrPtuUxvxwtt0AMmrZfpu4vt3pDjyL32I44XTpQS1M3vuw5OL0v4Hito8iepufn4d/jqqgee98b2NQ3oOOVIgXbbo58ow1LxUaJ8YblCWNR5Dmb9e6KF3sOiuXqJTSSk8OtXtuQEUWZlzpdOIBphFgs3FquciWGLLn7OYouhjJ1x4OadSiIVhnVsW8lMmXk0oQJHw==;
Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1tWQpP-00058s-7Q; Fri, 10 Jan 2025 21:02:19 -0500
X-Loop: help-debbugs@gnu.org
Subject: [bug#75127] [PATCH v6 30/44] gnu: Add rust-diffus-0.10.
Resent-From: Jordan Moore <lockbox@struct.foo>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: divya@subvertising.org, efraim@flashner.co.il, guix-patches@gnu.org
Resent-Date: Sat, 11 Jan 2025 02:02:19 +0000
Resent-Message-ID: <handler.75127.B75127.173656092619582@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: followup 75127
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 75127@debbugs.gnu.org
Cc: Jordan Moore <lockbox@struct.foo>,
 Divya Ranjan Pattanaik <divya@subvertising.org>,
 Efraim Flashner <efraim@flashner.co.il>
X-Debbugs-Original-Xcc: Divya Ranjan Pattanaik <divya@subvertising.org>,
 Efraim Flashner <efraim@flashner.co.il>
Received: via spool by 75127-submit@debbugs.gnu.org id=B75127.173656092619582
 (code B ref 75127); Sat, 11 Jan 2025 02:02:19 +0000
Received: (at 75127) by debbugs.gnu.org; 11 Jan 2025 02:02:06 +0000
Received: from localhost ([127.0.0.1]:40631 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1tWQpB-00055V-Bu
 for submit@debbugs.gnu.org; Fri, 10 Jan 2025 21:02:06 -0500
Received: from fhigh-b6-smtp.messagingengine.com ([202.12.124.157]:42639)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <lockbox@struct.foo>)
 id 1tWQnB-0004m7-2o
 for 75127@debbugs.gnu.org; Fri, 10 Jan 2025 21:00:02 -0500
Received: from phl-compute-10.internal (phl-compute-10.phl.internal
 [10.202.2.50])
 by mailfhigh.stl.internal (Postfix) with ESMTP id 9A3292540229;
 Fri, 10 Jan 2025 20:59:55 -0500 (EST)
Received: from phl-mailfrontend-01 ([10.202.2.162])
 by phl-compute-10.internal (MEProxy); Fri, 10 Jan 2025 20:59:55 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=struct.foo; h=cc
 :cc:content-transfer-encoding:content-type:date:date:from:from
 :in-reply-to:in-reply-to:message-id:mime-version:references
 :reply-to:subject:subject:to:to; s=fm1; t=1736560795; x=
 1736647195; bh=b7NbAkAaEYhuy8vdLMA3V4P/Tx1o4quM5EF/O/rFaxo=; b=K
 Q65E46KkYl3YoP/U+l8BsRj7/JVX78Ti/0bq163o3Ze/Swhunc4AFO6fVATnlvLG
 gcRvOYDlJ+s5GAebSITfYf+xPbkV7aTo0G3KD1Xseum2GYEefd7ZRTSqvChALkTn
 RCTxZPn5Y5Lj4RyK9R8Mz6w1xAPh/W+y+0BvPo4ro/oTGbKjPU9uEOVFVbtF2iP0
 VwOq0GJkaDqtZe8r4kkunvb8llGwSnvCjxYiGbDY5GCRTG57NkXUljD70xB4MQHD
 gb/sV3OppHyMi1NJu4tj9CeD1+20X3h0aWEPk1+BlGUcVc/EnwiYJjfEMj+Gcv4j
 lmDWVmWQ9If/+BhrlqtLw==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:cc:content-transfer-encoding
 :content-type:date:date:feedback-id:feedback-id:from:from
 :in-reply-to:in-reply-to:message-id:mime-version:references
 :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender
 :x-me-sender:x-sasl-enc; s=fm2; t=1736560795; x=1736647195; bh=b
 7NbAkAaEYhuy8vdLMA3V4P/Tx1o4quM5EF/O/rFaxo=; b=HiDYK1zsTWw0LDNrI
 Rs5biU0ul6WKiZ6YBG5qf/GvQULkwkt8TIsPhHPTWyPgmljVv8589DtoSkYuSbf0
 zEMq19RFGYBR0K5QD4Yy28eYpdHkLDTJMUAdmYMlRNXQWPkuo2fy6lf+YmcbTgKE
 H1gtYoT+6qbfbCpuqdpx+WqU/NO/v/HewwwKL20Zb2dCXISFF+yGly18zyUUHsWo
 fTB7PpHzPrGHmZ01cMiLbWOm7ZlAuicc9+dpAbaBJ898GUxm/7JxCrrZ2u6V6zsA
 hO682QbzEXZOMn8W47GDVAqAgrs8/EgCFRkGU/ITN6pb0YZPeG5pidb3qcRus+OE
 /0/AA==
X-ME-Sender: <xms:m9CBZwL4yDLCMu7Ttf0JjrD1_-pFdj02BYkl82NcsoY2WcS9Xej2TA>
 <xme:m9CBZwKBMdQb5AxD6Mjx7qtcIt6iKPzRA1OJq-vQeNOjqsC3_T-C6yUKEsWgmz3wK
 3SFS2a_kAK_iqs4eAE>
X-ME-Received: <xmr:m9CBZwsSNHSmJc-FWCfE3WLT2hRduo4nHLzbPqBtH6vM3mIVK46TW3f11Ta1CheOPr4>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrudegledggedtucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu
 rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpefhvfevuf
 ffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpeflohhruggrnhcuofhoohhrvgcu
 oehlohgtkhgsohigsehsthhruhgtthdrfhhooheqnecuggftrfgrthhtvghrnhepvdfffe
 eileduffffvedukeduveeuieehudeiuedtveejkeffhefghedtledtudehnecuffhomhgr
 ihhnpehgihhthhhusgdrtghomhenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmh
 epmhgrihhlfhhrohhmpehlohgtkhgsohigsehsthhruhgtthdrfhhoohdpnhgspghrtghp
 thhtohepvddpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepjeehuddvjeesuggvsg
 gsuhhgshdrghhnuhdrohhrghdprhgtphhtthhopehlohgtkhgsohigsehsthhruhgtthdr
 fhhooh
X-ME-Proxy: <xmx:m9CBZ9b8aLNe3f0WyJe7xPbLqooxpJxicCbvDbbUF9XWhEWDFfaRaQ>
 <xmx:m9CBZ3avZ5wW5GejBiouFcEsFAtPzWbj4401bLhBG194AcygYNJmCA>
 <xmx:m9CBZ5BVeFW1XAOd0s87aZ2A2iUzp2hPZm0x8pcafD3ECYxp4-tHuw>
 <xmx:m9CBZ9ZfebTw2fcHP7pTQ9tdJ_QA9tJiMwweP1K5TsReuWQrI22rXw>
 <xmx:m9CBZ2n1MPI4WbkoVrPJleWuKhcHAK786y9_NXXzQZuq_IFnnl3PJZvK>
Feedback-ID: i4d1648a8:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri,
 10 Jan 2025 20:59:55 -0500 (EST)
From: Jordan Moore <lockbox@struct.foo>
Date: Fri, 10 Jan 2025 20:57:42 -0500
Message-ID: <1a53b4aae2e39a3d075c648b7268f4387264a8ec.1736560483.git.lockbox@struct.foo>
X-Mailer: git-send-email 2.46.0
In-Reply-To: <cover.1736560482.git.lockbox@struct.foo>
References: <cover.1736560482.git.lockbox@struct.foo>
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>
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
X-Migadu-Scanner: mx11.migadu.com
X-Migadu-Spam-Score: 0.91
X-Spam-Score: 0.91
X-Migadu-Queue-Id: 26DFA7AE7D
X-TUID: v8pNzvTJAb6u

* gnu/packages/crates-io.scm (rust-diffus-0.10): New variable.

Change-Id: I78ec4ad8f7b5796215dbf14c787c97317a35430d
---
 gnu/packages/crates-io.scm | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 237c912c19..640e8a6df2 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -20946,6 +20946,42 @@ (define-public rust-diffs-0.5
 diff.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-diffus-0.10
+  (package
+    (name "rust-diffus")
+    (version "0.10.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "diffus" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0lsn5h1mfa8x7bfg9yqgr52p7drigpwgm5q8qh4r07dmfd5g43rw"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         ;; Cargo toml specifies a readme path that only
+         ;; exists in the git checkout
+         (add-after 'unpack 'omit-absent-readme
+           (lambda _
+             (substitute* "Cargo.toml"
+               (("readme = \"../README.md\"") "")))))
+       #:cargo-inputs (("rust-diffus-derive" ,rust-diffus-derive-0.10)
+                       ("rust-indexmap" ,rust-indexmap-1)
+                       ("rust-itertools" ,rust-itertools-0.10)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-snake-case" ,rust-snake-case-0.3)
+                       ("rust-uuid" ,rust-uuid-0.5))))
+    (home-page "https://github.com/distil/diffus")
+    (synopsis
+     "Finds the difference between two instances of any data structure.")
+    (description
+     "This package provides Finds the difference between two instances
+of any data structure. Supports Collections, Strings, Maps etc. Uses
+LCS where applicable. Also supports derive via `diffus-derive`.")
+    (license license:asl2.0)))
+
 (define-public rust-dircpy-0.3
   (package
     (name "rust-dircpy")
-- 
2.46.0