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:303:e16b::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms13.migadu.com with LMTPS
	id UP2/JA2UgmeVIAEAe85BDQ:P1
	(envelope-from <guix-patches-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Sat, 11 Jan 2025 15:53:49 +0000
Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp2.migadu.com with LMTPS
	id UP2/JA2UgmeVIAEAe85BDQ
	(envelope-from <guix-patches-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Sat, 11 Jan 2025 16:53:49 +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=AE0mhelr;
	dkim=fail ("headers rsa verify failed") header.d=struct.foo header.s=fm1 header.b="r Nb671l";
	dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=A7Z0RlKO;
	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=1736610826;
	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=ybEYZIkgH7FhFUXbhuW/WkOM/tVlap8aqs/k7m5CnKU=;
	b=P1PO0Fs4dO0ATY3qf4M0bi6wD61R1defIgxZ9uRv4Q9rd9c9DaHZL2gKCcj7kofhCcHYJO
	HuLzl6m3mX3paQQAFlgOW+cPmCtWmXe954IPFrQ2BrbHhfY3bw9KVs+RThYKYRWMzTyMrP
	NfhyGYJ5Rum9cnDzgzROopO3KESM46sWHvaxqEG1RiBMVDVrzUB5HDh/AWJ88EGffRoXMu
	U4I/MI5lwpy5T5CjJ5T7X2d20XzH5QK7GAU9Av598qO+HmmTfZAnTE/qn5o7MmjWJW24RK
	Q3HP6igKqh5omDMj3zbrGRRoSjheCDvN7p4ca+FLhtwxDKNumzzCZsgIYO9JqA==
ARC-Authentication-Results: i=1;
	aspmx1.migadu.com;
	dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=AE0mhelr;
	dkim=fail ("headers rsa verify failed") header.d=struct.foo header.s=fm1 header.b="r Nb671l";
	dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=A7Z0RlKO;
	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=1736610826; a=rsa-sha256; cv=none;
	b=fIhNNu393EkSrO5k+E/TTsCGcnGwxlJEgKMM1xG9gOmc5ZIDy6AZ82aKNT8lNLcFLQorZ1
	ybFrXKHzIG+SB/zPW1frgdBVEZgqdTe3+rPKFxAI1xehqLbQk7izIsaA2YV8soOiTNlvqW
	AvUvFy3p4xs5I9bD8Z531gWRPvyKYJNVz//YRGHs6riPz8Tl+4HyruJi4px21SHaTdmG0q
	Shxy1srWF2M6zjkRF7p3Ox8enrJhxBy2gXtzIRR5jaK5Y16xoUGGvYs2Ivp/aDSyR2/yxI
	GUSlHhYlKNQld3yI5wfMvxKtbQanKadWaSFdQYmYIYhckanI0EvRS+Yt/yvmHA==
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 5600A44F64
	for <larch@yhetil.org>; Sat, 11 Jan 2025 16:53:46 +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 1tWdB4-0004N5-8Z; Sat, 11 Jan 2025 10:13:30 -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 1tWdAx-0004I3-7m
 for guix-patches@gnu.org; Sat, 11 Jan 2025 10:13:23 -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 1tWdAw-0001oG-UQ
 for guix-patches@gnu.org; Sat, 11 Jan 2025 10:13:22 -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=ybEYZIkgH7FhFUXbhuW/WkOM/tVlap8aqs/k7m5CnKU=; 
 b=AE0mhelrejJeSwIgr1ANCHUS/qF0I+GMOFoDeVDRd0SbROMH34III41j5OPv2nkqgTyVrRBAuLd5alEO0XYsYD0couq3mh5Dy58GXDbz4mw5R1BnL+AoCzsmzQkYp/uYsXoaXLk3OqS7U3dl3FU7RmjAkm3cVwIZ7bNQNm6IRmrhfLoU+pph+ixze2eXKtQMt1WlCOR68Te/xASaNUUaGV+KOsvT62ZIFw/HyRT8t3pRNg0ISRUVslX8EuRmJVTQKh64Xh/XlhjKTfcW97eNuSAmnf7zYd3907nsU5RWVDx6BVf7F+/7xKTnqdBv79aafTujEKB77GG91X2UWzq3pQ==;
Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1tWdAw-0001wr-Pd; Sat, 11 Jan 2025 10:13:22 -0500
X-Loop: help-debbugs@gnu.org
Subject: [bug#75127] [PATCH v7 35/44] gnu: Add rust-self-replace-1.
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 15:13:22 +0000
Resent-Message-ID: <handler.75127.B75127.17366083897189@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.17366083897189
 (code B ref 75127); Sat, 11 Jan 2025 15:13:22 +0000
Received: (at 75127) by debbugs.gnu.org; 11 Jan 2025 15:13:09 +0000
Received: from localhost ([127.0.0.1]:44328 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1tWdAj-0001rg-Ce
 for submit@debbugs.gnu.org; Sat, 11 Jan 2025 10:13:09 -0500
Received: from fout-b7-smtp.messagingengine.com ([202.12.124.150]:54417)
 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 1tWdA6-0001kM-Ns
 for 75127@debbugs.gnu.org; Sat, 11 Jan 2025 10:12:31 -0500
Received: from phl-compute-06.internal (phl-compute-06.phl.internal
 [10.202.2.46])
 by mailfout.stl.internal (Postfix) with ESMTP id 4546B11400AC;
 Sat, 11 Jan 2025 10:12:25 -0500 (EST)
Received: from phl-mailfrontend-02 ([10.202.2.163])
 by phl-compute-06.internal (MEProxy); Sat, 11 Jan 2025 10:12:25 -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=1736608345; x=
 1736694745; bh=ybEYZIkgH7FhFUXbhuW/WkOM/tVlap8aqs/k7m5CnKU=; b=r
 Nb671lnjLg9Jhx2Y5hFL1HOkGREJ43xrBX3ePv456XO5ff21AtHHX1xNK4VeEagB
 Ys/a0ujpY7TdPCUAHRyeSCpkqt6rlHiqVIYnVpGmo9K2nGpmPRGONsmCHtYgoH+j
 yAvBfod+PKAzUjG+mHPzTct8nyPJuSE5aoG1eUOF62j3566HTeIbBUAhsJ39DZXd
 JOYygdnL/rDvZ+KWkpao/185qV2zCVTJaUuWBKN6vK8bTamb7NtcM/WA021lTGxm
 AM+irdRKkJkA/h5FVIlTxZVOCyEGW49xgKBPvLU9q5AfZ/JY24juD/puWoDBYJpy
 PXKaQCRjz+kswW4dGK1uw==
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=1736608345; x=1736694745; bh=y
 bEYZIkgH7FhFUXbhuW/WkOM/tVlap8aqs/k7m5CnKU=; b=A7Z0RlKOzhkCj+Xu3
 aNr4qfo3Fgy0emF035AAuQOCtKuyyQbfzH4eklglG22Xkb16ZlhmD0GTunfXv+QS
 U65IN4hinuTS03KBkgA+85unPRa7q7Lxoi9MALaWXnw34nSvb+tKaTEmM/OCWSZv
 P1yJli4jLdCmK3vQ3zXITexMeN2IAaqJ5Zq0WjTewmi3S4Nw6mOQ+seUOWqbzi9i
 zKZ8ZlfwX0j9Z+L2iS48N7fdVt8PLRjO9SEmGNSTy8Fr5sLxLfXm6NprCAeRZY1z
 h/CLouzZ2XkFN+xmu4YjNaRQ+CUp+rWUaoXYco9/PSfdjaMHZW3KPjOpUmsnMhP2
 cAvgQ==
X-ME-Sender: <xms:WIqCZ1dXFkiXbFHLzUtca6-klfeMLQV-BGjbkMmKB7HaolJiKyl-1Q>
 <xme:WIqCZzN2JQI1BF7mhBQzvqVM-TqsOiiPWYBsU5hPyd0B4z_nXp-o9vz0oeKvmiC7Q
 gMtmZQ5VbdBevpuWi0>
X-ME-Received: <xmr:WIqCZ-h9iboaZjO27_XMXRAz8i22YG7s7AqsU9E9G5iNnkn0PccIiYjnmCqGOD6weBc>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrudehtddgjeduucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu
 rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpefhvfevuf
 ffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpeflohhruggrnhcuofhoohhrvgcu
 oehlohgtkhgsohigsehsthhruhgtthdrfhhooheqnecuggftrfgrthhtvghrnhepvdfffe
 eileduffffvedukeduveeuieehudeiuedtveejkeffhefghedtledtudehnecuffhomhgr
 ihhnpehgihhthhhusgdrtghomhenucevlhhushhtvghrufhiiigvpeegnecurfgrrhgrmh
 epmhgrihhlfhhrohhmpehlohgtkhgsohigsehsthhruhgtthdrfhhoohdpnhgspghrtghp
 thhtohepvddpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepjeehuddvjeesuggvsg
 gsuhhgshdrghhnuhdrohhrghdprhgtphhtthhopehlohgtkhgsohigsehsthhruhgtthdr
 fhhooh
X-ME-Proxy: <xmx:WYqCZ-93bHq3Jd1iSmTexSBJfkumd5e-xRuK42XL59kobWO4GfzcZQ>
 <xmx:WYqCZxuPh6KRI7z1axrMFKpvXWRennLy212JrrZZbkCLQzHZ-z65EA>
 <xmx:WYqCZ9HMFNaA718RVnVFeibbfbZxiR26Aja0dG4jNmZ3zge9D5rfyA>
 <xmx:WYqCZ4OMKFjjI4vuvZw6fUI-bK6IFgtbPBd_HGnAP69GDi2Qo1mThg>
 <xmx:WYqCZ65EDVbaF7Jqns-XGoMaNcDti5TqxiH7DTgxTAYX_EuIu857y3fF>
Feedback-ID: i4d1648a8:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat,
 11 Jan 2025 10:12:24 -0500 (EST)
From: Jordan Moore <lockbox@struct.foo>
Date: Sat, 11 Jan 2025 10:11:25 -0500
Message-ID: <220b9ef4feeef55b4576f0aced55c3bb54d05729.1736607644.git.lockbox@struct.foo>
X-Mailer: git-send-email 2.46.0
In-Reply-To: <cover.1736607641.git.lockbox@struct.foo>
References: <cover.1736607641.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-Country: US
X-Migadu-Flow: FLOW_IN
X-Migadu-Queue-Id: 5600A44F64
X-Migadu-Scanner: mx13.migadu.com
X-Migadu-Spam-Score: -0.56
X-Spam-Score: -0.56
X-TUID: U3KXkZ3vj7Xw

* gnu/packages/crates-io.scm (rust-self-replace-1): New variable.

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 21c0e2f6d5..7020d57f2f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -69772,6 +69772,31 @@ (define-public rust-self-cell-1
 in stable Rust.")
     (license license:asl2.0)))
 
+(define-public rust-self-replace-1
+  (package
+    (name "rust-self-replace")
+    (version "1.5.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "self-replace" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1drganasvf5b0x6c9g60jkfhzjc9in3r6cznjfw0lhmbbrdq3v03"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:tests? #f ;crate does not package test dependencies
+       #:cargo-inputs (("rust-fastrand" ,rust-fastrand-2)
+                       ("rust-tempfile" ,rust-tempfile-3)
+                       ("rust-windows-sys" ,rust-windows-sys-0.52))))
+    (home-page "https://github.com/mitsuhiko/self-replace")
+    (synopsis
+     "Utility crate that allows executables to replace or uninstall themselves")
+    (description
+     "This package provides Utility crate that allows executables to replace or
+uninstall themselves.")
+    (license license:asl2.0)))
+
 (define-public rust-self-update-0.41
   (package
     (name "rust-self-update")
-- 
2.46.0