From patchwork Sun Mar 30 12:26:24 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gabriel Santos X-Patchwork-Id: 41003 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 21AFF27BBEA; Sun, 30 Mar 2025 13:29:44 +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=-3.3 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_SBL_CSS,RCVD_IN_VALIDITY_CERTIFIED, RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS, TVD_SPACE_RATIO,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 9535D27BBE2 for ; Sun, 30 Mar 2025 13:29:43 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tyrnB-0003As-GF; Sun, 30 Mar 2025 08:29:34 -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 1tyrmr-000348-3u for guix-patches@gnu.org; Sun, 30 Mar 2025 08:29:15 -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 1tyrmn-0008RR-Pc for guix-patches@gnu.org; Sun, 30 Mar 2025 08:29:11 -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=utv/M/7xx/OKjQe4GFc7UhNhc7L4rN8M5F70/t0FprE=; b=tZCJetgyjWtmbQHrwmoA073As+WwzEUxxSz3FhLk4rhqPVRkt3Jj0i1GxfDMwPE6Qig1zGoDi+M5du4kNPkLaVAM1Vlorqu0MBGBdUNL9JxX0l7FtacOaxVnQjPSJ8Td8n5L2Va5KwJxw0VRCna0cJL6fjUfBOmbLlXGXZ92EUUVaqAlXUXugQbbojKQOIE99azehrrwZo8GtaeAifo3VTutJoQS0yw/8Ke3yOPwa4vX1EYq5mPh+abpFcIBbodZ+lHYGyPA/VzjwxzpleLJyJPkyucHQ92JPvvZ1V3C3zfSi6xWlMfH4sT2EP/tWe7EoCfSrYYCIlW3JF9XvBnkDg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tyrmk-0005ck-IA; Sun, 30 Mar 2025 08:29:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#77382] [PATCH rust-team 09/18] gnu: Add rust-generic-array-1. Resent-From: Gabriel Santos Original-Sender: "Debbugs-submit" Resent-CC: divya@subvertising.org, efraim@flashner.co.il, steve@futurile.net, guix-patches@gnu.org Resent-Date: Sun, 30 Mar 2025 12:29:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77382 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 77382@debbugs.gnu.org Cc: Gabriel Santos , Divya Ranjan Pattanaik , Efraim Flashner , Steve George X-Debbugs-Original-Xcc: Divya Ranjan Pattanaik , Efraim Flashner , Steve George Received: via spool by 77382-submit@debbugs.gnu.org id=B77382.174333774321557 (code B ref 77382); Sun, 30 Mar 2025 12:29:06 +0000 Received: (at 77382) by debbugs.gnu.org; 30 Mar 2025 12:29:03 +0000 Received: from localhost ([127.0.0.1]:35196 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tyrmg-0005bI-SP for submit@debbugs.gnu.org; Sun, 30 Mar 2025 08:29:03 -0400 Received: from mail-pl1-x641.google.com ([2607:f8b0:4864:20::641]:48191) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tyrmX-0005a8-BG for 77382@debbugs.gnu.org; Sun, 30 Mar 2025 08:28:53 -0400 Received: by mail-pl1-x641.google.com with SMTP id d9443c01a7336-2243803b776so45669955ad.0 for <77382@debbugs.gnu.org>; Sun, 30 Mar 2025 05:28:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1743337727; x=1743942527; 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=utv/M/7xx/OKjQe4GFc7UhNhc7L4rN8M5F70/t0FprE=; b=PBo9TFd8e2HsuDKjg9jSYoDxB4VjD4v29cNnYD3/gkIRaSNJQ3i1bxfxPmo846etKs Mc4xBqp+Lc1OSwRJA9rCXXkCggVHvJSKp/yh2vJee/X2oiOVyMTPPMPOfZKYPEnYayvc 1TehpJ+g6STtguCrb6mBFnhrR19arcP9vdXzkjzvuN7EasTuiP/ljbKwJzKaoccp7IPE PhuaqVPQO3MmR6haBihElZwehfVcKt/7W2GX7JMvmPN5BUvgoLOXcjUHwN2XalYEn5kO 4q41+gFfxszvhUVNve2uTU6RAJarupLJ2eQR9xvV2ySgLJaxAPtybAsREeKjWHGPFZZs y5Bw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1743337727; x=1743942527; 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=utv/M/7xx/OKjQe4GFc7UhNhc7L4rN8M5F70/t0FprE=; b=Ut1tGITm7tnWp3aBbpfYX8ldVghkqLb1VAByEPZHYhAwVjVVNdUnUdVXQMrQjv+8Qk +roc7FZ37of4LPOt9VCc/Uyd0MzwCD099qZVQJeZK+Hrr64jbZvR6q+YNRO/ys9NCSFf sP27/oKSf4hAlvDUiEGQe2Cxf3WY15MDpAdMulCybF8vVqWrH+N8H/fzF8sL9qOyo3v/ vThCHm11pqVvI2uEMzcJyjgaHM/VqOhk7w3YaEi/abfhoq38FIIwsHSJeOYhLlnPe+T/ ThkJ+sy+Vf/Ydkso5LVGluzHWmQ84QU2p8KayXIAEtPMrgUyLzNf+SrYnogUHfD1XkDa ishA== X-Gm-Message-State: AOJu0YxGmrY6iUm2YByn0fxu3thyBjDY8G3Y4wHMQJy72+o4CpzQ0OUj Hkkyre8tv8EiehhrGpGKWDOT+yUcVlb9/aMVQBXRw4vZ11szuiSHDLucQotR X-Gm-Gg: ASbGncuJZK7Xigoy0U38cRP6HajqaPm76fAAMToHNu/b4oKc5TR6GZ6mfkZXM4OoavJ MmUBAks1aGJBlKjtric44bRYPF5fnBWoAw3zZ4myKan0Wq+/Su9gx7mrK38OoI7mm7vQSuNAPAj PGBilF9P8Ydtwj6GWbKsYhwPm2IFqHskcfWp2pvP/d43lR1B2nB3RwHS5k1zS0DH4GL5AV53QaW 4Ql7nwsmjI01k34CRT+quvLfPGp0yikvzwzmwwo+r6bV3vBHkYFETNRj5Um4PsXvwg18o69bzft XHe3msry17AEnaYegFZENYrAGrdmbh7hzRWX8pi+qfG4crVqb0XVM+DbCCqmE8+mfl6I63X+c5/ kIKm5plYOZw== X-Google-Smtp-Source: AGHT+IEijuDr5Kzmug5waAANtweOAw83icpvf3RRNE275/A5dw48sCNb0pwlUIBNRhpTrskiz0+9JA== X-Received: by 2002:a17:903:32d0:b0:220:e896:54e1 with SMTP id d9443c01a7336-2292f974fccmr81079475ad.26.1743337727307; Sun, 30 Mar 2025 05:28:47 -0700 (PDT) Received: from localhost (177-70-169-245.infotec.psi.br. [177.70.169.245]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2291f1dedb5sm51182605ad.176.2025.03.30.05.28.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 30 Mar 2025 05:28:47 -0700 (PDT) From: Gabriel Santos X-Google-Original-From: Gabriel Santos Date: Sun, 30 Mar 2025 09:26:24 -0300 Message-ID: <855da7f78295e126bc64fc0f0e2e3b35b8342c57.1743337577.git.gabrielsantosdesouza@disroot.org> X-Mailer: git-send-email 2.49.0 In-Reply-To: <8594394ec2901f9d339a56f01607b7465d4c3a9d.1743337576.git.gabrielsantosdesouza@disroot.org> References: <8594394ec2901f9d339a56f01607b7465d4c3a9d.1743337576.git.gabrielsantosdesouza@disroot.org> 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/crates-io.scm (rust-generic-array-1): New variable. (rust-generic-array-0.14): Inherit. Change-Id: I8c1650fd66e32a0a18ab71c2eda83ee1306b220f --- gnu/packages/crates-io.scm | 37 ++++++++++++++++++++++++++++++------- 1 file changed, 30 insertions(+), 7 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index d5395b1df5..2ac678069a 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -30496,8 +30496,37 @@ (define-public rust-generator-0.6 ("rust-rustversion" ,rust-rustversion-1) ("rust-winapi" ,rust-winapi-0.3)))))) +(define-public rust-generic-array-1 + (package + (name "rust-generic-array") + (version "1.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "generic-array" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "00qpb5rxfiv5mvdb2rvqmw40h612ysvwl36car8r66ypr55l9j78")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-const-default" ,rust-const-default-1) + ("rust-faster-hex" ,rust-faster-hex-0.10) + ("rust-heapless" ,rust-heapless-0.8) + ("rust-serde" ,rust-serde-1) + ("rust-typenum" ,rust-typenum-1.17) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.5)))) + (home-page "https://github.com/fizyk20/generic-array.git") + (synopsis + "Generic types implementing functionality of arrays") + (description + "Generic types implementing functionality of arrays.") + (license license:expat))) + (define-public rust-generic-array-0.14 (package + (inherit rust-generic-array-1) (name "rust-generic-array") (version "0.14.7") (source @@ -30519,13 +30548,7 @@ (define-public rust-generic-array-0.14 ("rust-zeroize" ,rust-zeroize-1)) #:cargo-development-inputs (("rust-bincode" ,rust-bincode-1) - ("rust-serde-json" ,rust-serde-json-1)))) - (home-page "https://github.com/fizyk20/generic-array.git") - (synopsis - "Generic types implementing functionality of arrays") - (description - "Generic types implementing functionality of arrays.") - (license license:expat))) + ("rust-serde-json" ,rust-serde-json-1)))))) (define-public rust-generic-array-0.13 (package