From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id kATnM9EBN2UQagAA9RJhRA:P1 (envelope-from ) for ; Tue, 24 Oct 2023 01:29:22 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id kATnM9EBN2UQagAA9RJhRA (envelope-from ) for ; Tue, 24 Oct 2023 01:29:21 +0200 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 A862E43136 for ; Tue, 24 Oct 2023 01:29:21 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=none; 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=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1698103761; 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; bh=/pgkXGLsYnIshJn9oH4fzNkk16NbyoUdiFPajwLSdbY=; b=M6DK/DRpdtUzP8+tRmc7Nv6bYpuWDD/w2liIycrtNIf8sDCutelO2/pgtQo1CCHMFR/4CU z7AZEUvnj/wctqMcZVYeZNzVvuF+QSuUQhobEZ6N3+7PVmojxo6ehMqVZf54mEFcri2FOb JIs9FZEAVppa+djgU+37WQ9iHeKcoIcxaXyQZF3yOtXMXAV4p3ZjFOGdlxHgQmPP+QRsdV bU7pg0lAYo5afgHP/FHUVCFHUjSAU2kipHN/y/LqgZdNJA7BTT/s147xCtBM6HPAsM2sXD DL9eMYI8gko3PjYCMXoVun1TXOP2adttPkGafmIMT1h6bkPnWUDooZO0JXLAjQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1698103761; a=rsa-sha256; cv=none; b=riZWyYwSNdkz6Z5qSrLdvm1YHxh74WXo8bJOVoBNMVkTLAnBFJbSJ8A3xI21ZOLUD9tdPH 5f3pXchIS8aQ83NhJG92awhRW61N3e06MbQATeJlr6UbAYxnUC9gh0GWBpBxAY6x3M+6OE AMmfyLjW9GV9u/CSp0M0rjpiW2nrALK5o2bOz5cqzfV0lFTXfK/m4gx4evWNqom0iuyM5A nU6VPUBwXtwSy4eTOTU5OtQpx7ODmPbbWwMLaOgyskSybjAQ4LTtY7z7TJPhLvlboABGHu kStZunIib1ElYT4x4qAnKSHZ/9g88IXNjvskf+rOH0YgUyQQaFyIZ01AFaRppQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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=none Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qv3Mm-0003i1-BU; Mon, 23 Oct 2023 18:25:44 -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 1qv3Mi-0003bP-NL for guix-patches@gnu.org; Mon, 23 Oct 2023 18:25:40 -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 1qv3Mi-0004w5-DI for guix-patches@gnu.org; Mon, 23 Oct 2023 18:25:40 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qv3NB-0000yj-Ho; Mon, 23 Oct 2023 18:26:09 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66717] [PATCH 34/64] gnu: Add rust-array-init-2. Resent-From: Steve George Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Mon, 23 Oct 2023 22:26:09 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66717 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 66717@debbugs.gnu.org Cc: Steve George , efraim@flashner.co.il X-Debbugs-Original-Xcc: efraim@flashner.co.il Received: via spool by 66717-submit@debbugs.gnu.org id=B66717.16980999593542 (code B ref 66717); Mon, 23 Oct 2023 22:26:09 +0000 Received: (at 66717) by debbugs.gnu.org; 23 Oct 2023 22:25:59 +0000 Received: from localhost ([127.0.0.1]:52318 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qv3N0-0000ux-G3 for submit@debbugs.gnu.org; Mon, 23 Oct 2023 18:25:58 -0400 Received: from mailtransmit04.runbox.com ([2a0c:5a00:149::25]:41436) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qv3MW-0000qg-3r for 66717@debbugs.gnu.org; Mon, 23 Oct 2023 18:25:28 -0400 Received: from mailtransmit02.runbox ([10.9.9.162] helo=aibo.runbox.com) by mailtransmit04.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1qv3Lw-00F9dU-UZ for 66717@debbugs.gnu.org; Tue, 24 Oct 2023 00:24:52 +0200 Received: from [10.9.9.74] (helo=submission03.runbox) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1qv3Lr-00010z-Dw for 66717@debbugs.gnu.org; Tue, 24 Oct 2023 00:24:47 +0200 Received: by submission03.runbox with esmtpsa [Authenticated ID (641962)] (TLS1.2:ECDHE_SECP256R1__RSA_SHA256__AES_256_GCM:256) (Exim 4.93) id 1qv3Lh-004OSk-LI; Tue, 24 Oct 2023 00:24:37 +0200 From: Steve George Date: Mon, 23 Oct 2023 23:21:19 +0100 Message-ID: <6f460ec4227b9ab4b5843baf4ae782879ff27837.1698099450.git.steve@futurile.net> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: 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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-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-Spam-Score: -4.72 X-Migadu-Queue-Id: A862E43136 X-Migadu-Scanner: mx0.migadu.com X-Migadu-Spam-Score: -4.72 X-TUID: fzPTVk8sZmV5 * gnu/packages/crates-io.scm (rust-array-init-2): New variable. --- gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index d7edc49fb6..8c21940432 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -4088,6 +4088,28 @@ (define-public rust-arr-macro-0.1 do not implement the copy or default traits.") (license (list license:expat license:asl2.0)))) +(define-public rust-array-init-2 + (package + (name "rust-array-init") + (version "2.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "array-init" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1z0bh6grrkxlbknq3xyipp42rasngi806y92fiddyb2n99lvfqix")))) + (build-system cargo-build-system) + (arguments + (list #:skip-build? #f)) + (home-page "https://github.com/Manishearth/array-init/") + (synopsis "Safe wrapper for initializing fixed-size arrays") + (description + "A crate that removes the need to fill an array before running +initialisers. Provides an init closure that's called for each element of the +array.") + (license (list license:expat license:asl2.0)))) + (define-public rust-array-macro-1 (package (name "rust-array-macro") -- 2.41.0