From patchwork Sun Mar 30 12:26:18 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gabriel Santos X-Patchwork-Id: 41007 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 B81B427BBE2; Sun, 30 Mar 2025 13:30:03 +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=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 1A4D427BBE2 for ; Sun, 30 Mar 2025 13:30:02 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tyrmv-000345-QL; Sun, 30 Mar 2025 08:29:18 -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-00031z-6z 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 1tyrmh-0008QR-Jl 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=DRSUwJuOTCgwTWp3v7j89PGtY8VvmlSPUPQvKBmKCyE=; b=GAfvOYd/1R2GK3DzulWFq2HXacRjHv0TVWdlIrBDDvWoZ9MUtVQGZpPKc2RSuZZfSAg5wBZG7wH+EM1kHlhLGzL181nzIDV6BOAT8EKu12nXXH5EB3q+w0lxHauru25WvTJQabf13jyHlc029nNZmbabbwtFFpNn5AaUtovJnGSQSZyQWQEJPjoeLbEExr4yjVp4DdmYzgzQrvGxc6QdJVoABecvV02lRpunQ096eawqkaTuLGHDlFCjskRA3fLUbzxAAGSfO61LsREmaUYNNNKQFtV2w7vJ4+6hOVx5P+msZNYSBEgvaAe7b2gfJd/93mdat725LVc7psNg+M4xDA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tyrmh-0005bT-9m; Sun, 30 Mar 2025 08:29:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#77382] [PATCH rust-team 03/18] gnu: Add rust-const-default-derive-0.2. 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:03 +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.174333770921392 (code B ref 77382); Sun, 30 Mar 2025 12:29:03 +0000 Received: (at 77382) by debbugs.gnu.org; 30 Mar 2025 12:28:29 +0000 Received: from localhost ([127.0.0.1]:35172 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tyrm9-0005Yx-93 for submit@debbugs.gnu.org; Sun, 30 Mar 2025 08:28:29 -0400 Received: from mail-pl1-x641.google.com ([2607:f8b0:4864:20::641]:45143) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tyrm5-0005YS-GX for 77382@debbugs.gnu.org; Sun, 30 Mar 2025 08:28:26 -0400 Received: by mail-pl1-x641.google.com with SMTP id d9443c01a7336-22423adf751so67156645ad.2 for <77382@debbugs.gnu.org>; Sun, 30 Mar 2025 05:28:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1743337699; x=1743942499; 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=DRSUwJuOTCgwTWp3v7j89PGtY8VvmlSPUPQvKBmKCyE=; b=hi4XGydve3GDmGI7sZG6DxQOZyucPdPeuyj3LxSLzeVD72nfEtJ4Nb5wbXvy2JId/8 f2e6GpTREpDMycb2BupwXvc/g5TXSzXf51dCa7+b0Bz7SQJ0mqvhU+W6VH5XgPikr0eS BmLI5rhks5DiTZjqfg5Hh0rkM6XeeLXZzTHXvle/S8hvC5AJxHaPtHLq662O8aBR5/Qu 6jBcf/V9N4lMYibz3srYfYcru98vTff6y714D1nNUrlTdFEef8dCXU3dy2nHFko4fk7o w30w9/YrU7mhAvoqK4dX99tfCxy0tx+xkoHXqCeweEup01QhLwAknA2xnFg8vD/vyw2D q9Mw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1743337699; x=1743942499; 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=DRSUwJuOTCgwTWp3v7j89PGtY8VvmlSPUPQvKBmKCyE=; b=o7lnauCOGnERypgxOxtO3BPB8xDnN7ah+XL78CA0oXCXNrXBdZ/ldEqLQy02Hed/q7 g2h5ZY9sQek15jzffYGgjp9OOU8JqDKpyHNebNp+/ovbX7TDKHDVQR7xpnCYHpa/KsHc ZJGyda700ha1kZtqgGVbMJ05TQnYTvP6o4OxX0grZCtd0Q8vhZEPBzcCbSGMau79jDFU W4BTCB78DVUVPvyINcW0FNxua4TMDPAj//iyEcncKhpJUVRU25gju9sjUFSl7lQVQ/Op chKDy2EOhaAJTssX3VrFzG9XBPElm2YZgkR+kHv7q/5jtBFez47rt4sI+DsE13OCh2zJ QwuA== X-Gm-Message-State: AOJu0YxXX0B6s4WhBdY8q8GQZuI7Jf4uAtG/ZBDuCzoYFA6SLGHH3M49 EXFHkL8lvr7ivgPcsdB6GLWNDcqkKCORFSqY/nVWWtlM2pJajYlkhmf+0BkQ X-Gm-Gg: ASbGnct56Emb0B32X8aHDpSqcAGvJ9ToDBrlxJ3y+gDl/MygGzaCDFVWNxDTkXaCMZM NQz8/o3W1k0Rz5HtWU2Qjdmtq1pA2w5pgtnMdyRphJ5KSUFu9LrOTQRbptMFJHIwkD9LlMse5mN L9ybIgHJf95aDCtT3fF9LGNcvNWy+vmAqKhPv2FyywOAbibf7jkHwp2PbILLtUvYHC9dDsOmYQ5 CpzpzzDs8LwEjT09YqHwGJBsiWQggPaw/uPz2DGXhHWTpm19e0s/TM/qe9pIBXt8sTyJJ5oLNnS Ld4w7eZX+yoNOyyOVfEge87pMRPgtSHJT7pe9E789xre5B4eroM1un8DBvVDxMNDEgehfTnf+G6 L+AtIOuLEmg== X-Google-Smtp-Source: AGHT+IHMVxjsXub2Ry7iWAJ6VLElsACRjnCmc0sfYZx6KraE39AkRSU9cfrIVZpcg/kHcfEsE+IfZA== X-Received: by 2002:a17:902:f550:b0:21f:136a:a374 with SMTP id d9443c01a7336-2292f9f980dmr86177895ad.43.1743337699393; Sun, 30 Mar 2025 05:28:19 -0700 (PDT) Received: from localhost (177-70-169-245.infotec.psi.br. [177.70.169.245]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2291f1deccesm51042115ad.165.2025.03.30.05.28.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 30 Mar 2025 05:28:19 -0700 (PDT) From: Gabriel Santos X-Google-Original-From: Gabriel Santos Date: Sun, 30 Mar 2025 09:26:18 -0300 Message-ID: <2d514ff600fd81cb4a0ba3b35710f304546ec971.1743337576.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-const-default-derive-0.2): New variable. Change-Id: I9361d7fa0c4d74589f517ae4b0bb91352c9fcedb --- gnu/packages/crates-io.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index dae37ca910..c8b95d67e5 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -15890,6 +15890,37 @@ (define-public rust-const-default-1 implements it for Rust primitives, prelude types and arrays.") (license license:expat))) +(define-public rust-const-default-derive-0.2 + (package + (name "rust-const-default-derive") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "const-default-derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1nh3iwba073s9vsyhr5ci0pgbnc6zavmfs7za4vj64mqrgc4v08g")) + (snippet + #~(begin (use-modules (guix build utils)) + ;; README.md not included in the release tarball. + (substitute* "Cargo.toml" + (("\\.\\./README\\.md") "Cargo.toml")))))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Has a circular dependency. + #:cargo-inputs + (("rust-proc-macro-crate" ,rust-proc-macro-crate-1) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)) + #:cargo-development-inputs + (("rust-const-default" ,rust-const-default-1)))) + (home-page "https://github.com/AerialX/const-default.rs") + (synopsis "Derive for @code{Default}") + (description "This package provides #[derive(@code{ConstDefault})].") + (license license:expat))) + (define-public rust-const-fn-0.4 (package (name "rust-const-fn")