From patchwork Sun Mar 30 12:26:17 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gabriel Santos X-Patchwork-Id: 41002 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 0EED727BBE2; Sun, 30 Mar 2025 13:29:35 +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, URIBL_BLOCKED autolearn=unavailable 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 E7B9427BBE9 for ; Sun, 30 Mar 2025 13:29:33 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tyrmx-00034l-1U; Sun, 30 Mar 2025 08:29:19 -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 1tyrmj-000320-74 for guix-patches@gnu.org; Sun, 30 Mar 2025 08:29:05 -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 1tyrmg-0008QO-Jn for guix-patches@gnu.org; Sun, 30 Mar 2025 08:29:04 -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=81ZGo1vXMaI88Xhxz2PLxk4MkX7r/gLQq0+t0xW0pKg=; b=Ijd07aQ42+SdtfihRrhToMIQNnGg51boDkOVpSjDVJBaIRfILqJXC/HjqY6XcvyFW/Ki0e23aS+wyzIOWHOTzp2sOcrcym22M4fvpPuyR26eABo2A+YdDIJ17o3PFRpi6ZeqykdwT2jqgpNesRbz9qPEKrlm+d5ZRiwNt9rzMBkztPevY2ThvabPNJzKMf2GiN1F44O/2pnnLljE7Ny27ZAcLJytE92sW+lznje8Foo0MbHoTHojhBVjpI2iqWIqzEYP/zVJt+ljN7dDtAgxLqhB6u0I42KcfeD0Egr1jypKreVs7TQRPWZe4o0HwITdtGHIKG8s84oRrMvmK0s4tw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tyrmg-0005b2-DO; Sun, 30 Mar 2025 08:29:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#77382] [PATCH rust-team 02/18] gnu: Add rust-const-default-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:02 +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.174333770321371 (code B ref 77382); Sun, 30 Mar 2025 12:29:02 +0000 Received: (at 77382) by debbugs.gnu.org; 30 Mar 2025 12:28:23 +0000 Received: from localhost ([127.0.0.1]:35169 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tyrm2-0005Yd-TN for submit@debbugs.gnu.org; Sun, 30 Mar 2025 08:28:23 -0400 Received: from mail-pl1-x643.google.com ([2607:f8b0:4864:20::643]:42383) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tyrm0-0005YH-8y for 77382@debbugs.gnu.org; Sun, 30 Mar 2025 08:28:20 -0400 Received: by mail-pl1-x643.google.com with SMTP id d9443c01a7336-223f4c06e9fso66813915ad.1 for <77382@debbugs.gnu.org>; Sun, 30 Mar 2025 05:28:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1743337694; x=1743942494; 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=81ZGo1vXMaI88Xhxz2PLxk4MkX7r/gLQq0+t0xW0pKg=; b=fgIB+Mp87Bt3W0QA1eVXyZEEZFlArF1dy21tna78qy7famhY8mGjw7gn3k2lTfR5Dc 0hfv08vV3kCuV3GaR5HItJ3uVDxZ2AMwhSnglXiF6uuusaT+x4EngPLvB/MXUx5cSC2R hr9Ehvvf0Ujsj+jAYyhbNPZDrjHm8Tk6OfiElpIt3hf9udVM7fo0d4lKFIbucKlZfIDs jVKkn0Cyqb6+yYx1jh9d7zI9r2M6/HZSXtHvHaUkncWv/+RixzMBfiTXKiIUR5DimtRG X9Q0/HPnTk53i+K19TMMlcVFysUMxgHTCcEGEY/QrFlViJa73HJ/19kwmNxqRJlBB7fZ 3oBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1743337694; x=1743942494; 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=81ZGo1vXMaI88Xhxz2PLxk4MkX7r/gLQq0+t0xW0pKg=; b=LxdJfBWX5NRuKiyPYylHlm5HWYxwUCgH1Yl59DiCCnAWDdBNx2aLHFiXSmmqYLBynO HMhNVab87lxDZBRSO67XOoi0J3Xwio2UjoB9BxKyIiZ+x6Yvdn6eLGCMfx7z1qkbkYRi yVMa67igZ2G61BhEC7PCtyiO/n+LTzmhHd6UVF92QludwTnStNFpixU+9Cmovj6CUCNn IdGH1Uj0omSYfPPV9MtDTXkyisFRJDQGmCeWRSGks5Kni9nt1qJXo83W68uHyGRb6lG2 EqM4JCsyeTTTmUgCCBCJFhwahN19We+JjTHolA3EbCaAGxRmyyWlYGQ0+kUmsl9DzXCi Y8sQ== X-Gm-Message-State: AOJu0YyDbHct+IEHAKaRqInaBA7K46wLfpDqMy4ZhLl4a5uKH1NnhSoO KxNQxwW4l3kN4O4+cmm5NKn4++qa37o9aNfa/uNHVzlL5vIyI9IVqFixS2PE X-Gm-Gg: ASbGncvtbEPpRyKCjXpo6BICUOYrSLcsUD9CqBQDMbJsSxgTFwducfDj1uHG6YL5NTl OhkKavwI/idD2Emu4P3PiyND1FoLuFNHBQQV/12SlLWst5jyQfIvwYQgztenmft4Mo4hGNHUy7i ZLb8dk6AKbGBdq9orIlqZDdxyA8BMNrRlIca5snqC79x6X3nAbBLRbIDqIVIcOguenS1tVJyedY VDID4MTqk3oCsoQXdLIVaooAsS41pr0cmaIYfuGtL/Hjo6jhcrO4M2aLlKtn5hIJwGEqpI5HANN aNeXixpx4qj2ZJN9j8xGrRyHHPQJIEB6tCz0dxkud21toABKV/4mKXtV+NJ2ZJmcCgOLJb35P+y +wgGE/mBFYQ== X-Google-Smtp-Source: AGHT+IEdL22qtI2n7SPPvq4EcJuVqMm2tq7hEHvGPzCouRrnDLwdWflcDuAeMSkVJOVKTXMxtwHCgg== X-Received: by 2002:a17:902:e5cd:b0:225:abd2:5e5a with SMTP id d9443c01a7336-22921c7af8dmr126646195ad.4.1743337694100; Sun, 30 Mar 2025 05:28:14 -0700 (PDT) Received: from localhost (177-70-169-245.infotec.psi.br. [177.70.169.245]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-73970e2e2bcsm5101099b3a.70.2025.03.30.05.28.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 30 Mar 2025 05:28:13 -0700 (PDT) From: Gabriel Santos X-Google-Original-From: Gabriel Santos Date: Sun, 30 Mar 2025 09:26:17 -0300 Message-ID: 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-const-default-1): New variable. Change-Id: Idd1058b2602124c5887bb0f7db4debaeb215a0df --- gnu/packages/crates-io.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 744861b339..dae37ca910 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -15869,6 +15869,27 @@ (define-public rust-const-cstr-0.3 literals.") (license (list license:expat license:asl2.0)))) +(define-public rust-const-default-1 + (package + (name "rust-const-default") + (version "1.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "const-default" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1apcnxfrz5xsfxaxbv1n9c5sdfqlmrk81v0q29z5amflfqgnsf8b")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-const-default-derive" ,rust-const-default-derive-0.2)))) + (home-page "https://github.com/AerialX/const-default.rs") + (synopsis "@code{Default}-like trait and macros for evaluation contexts") + (description "This package provides a @code{Default}-like trait and +implements it for Rust primitives, prelude types and arrays.") + (license license:expat))) + (define-public rust-const-fn-0.4 (package (name "rust-const-fn")