From patchwork Tue Feb 25 01:04:27 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Wong X-Patchwork-Id: 39130 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 E5B2427BBEA; Tue, 25 Feb 2025 01:05:41 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, 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 67B8627BBE2 for ; Tue, 25 Feb 2025 01:05:41 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tmjO0-000128-2n; Mon, 24 Feb 2025 20:05:25 -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 ) id 1tmjNi-0000qR-Jb for guix-patches@gnu.org; Mon, 24 Feb 2025 20:05:09 -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 ) id 1tmjNg-000605-Kh for guix-patches@gnu.org; Mon, 24 Feb 2025 20:05:06 -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=elgt1yFRy2u6j3elkFXd9oUD5CgEAZhugP/a36khlIs=; b=M9OPws3DCc36jc6S1tKCuTdkuBzq69zsiFVKQy5YZZCPCvrj8aadeR7/BiC+FHTcw7J8VgHCIqEEzqHv/l9cFdnk6u1tupF6rWpNKHGk9+G3Re3fbyC9OU6JFLbfqH9hAgfllXkwc9wEUMJRejd+LUr+b2f3U7bv2wETRzOfnIFi0rFYGHfGxuEznI73/Gsrtjb4pgWfRUGEtfwSMEWg8KCnKVdqHI6IQpD2puUDETB1JiFILtEko2zNuNFsyZLth30yvN27BWLuIpFj5EG+XbnKDhG/lu6X+BYXoBKGyiqTEErUpCOPhV3QoclM0mjlCmrWaJmJtv381/W7GfpYUQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tmjNf-0005Fl-D9; Mon, 24 Feb 2025 20:05:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#76537] [PATCH rust-team 2/8] gnu: Add rust-documented-macros-0.9. Resent-From: Andrew Wong Original-Sender: "Debbugs-submit" Resent-CC: divya@subvertising.org, efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Tue, 25 Feb 2025 01:05:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 76537 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 76537@debbugs.gnu.org Cc: Andrew Wong , Divya Ranjan Pattanaik , Efraim Flashner X-Debbugs-Original-Xcc: Divya Ranjan Pattanaik , Efraim Flashner Received: via spool by 76537-submit@debbugs.gnu.org id=B76537.174044549620151 (code B ref 76537); Tue, 25 Feb 2025 01:05:03 +0000 Received: (at 76537) by debbugs.gnu.org; 25 Feb 2025 01:04:56 +0000 Received: from localhost ([127.0.0.1]:43686 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tmjNX-0005Ex-S2 for submit@debbugs.gnu.org; Mon, 24 Feb 2025 20:04:56 -0500 Received: from qs51p00im-qukt01071901.me.com ([17.57.155.8]:49153) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tmjNO-0005Dq-Pc for 76537@debbugs.gnu.org; Mon, 24 Feb 2025 20:04:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=icloud.com; s=1a1hai; bh=elgt1yFRy2u6j3elkFXd9oUD5CgEAZhugP/a36khlIs=; h=From:To:Subject:Date:Message-ID:MIME-Version:x-icloud-hme; b=sYywks70pp3HGlHl9cDSzLBjhVTfGcmrzavPFKXgOWHNfqi8laX1CzMlvtysC145i NGZNDQSwkYGxjf67dkH3u3SozGFMQtQccia7K8QrFQsp6UTYrow0LTZj+6Q+Kez94f 0IK1sXaKWWL7GTDPAXbcVgsm2As0yp7AY0hRXf82htBjqbf9it7O9P8sMFuoQfmh/d bFG4Wsc/ec6SVbA+9jOPjtR2rWgJ2veHBZTwrdLdJ4pTDCpJ2o3cUHtits3vU5gr4M xhxbZ9OWNaqq2KXeOXkk8Wt+lPlz4gVuvfyU2rDO9vJ6EnGihfiE7+g67KM04rP1TM UbIE44rRoEI2w== Received: from wongworks.lan (qs51p00im-dlb-asmtp-mailmevip.me.com [17.57.155.28]) by qs51p00im-qukt01071901.me.com (Postfix) with ESMTPSA id 865ED62802E0; Tue, 25 Feb 2025 01:04:40 +0000 (UTC) Date: Mon, 24 Feb 2025 20:04:27 -0500 Message-ID: X-Mailer: git-send-email 2.48.1 In-Reply-To: References: MIME-Version: 1.0 X-Proofpoint-GUID: ahoyhI6DzsxUL-kM9MKFj9YJaEJ_qIPc X-Proofpoint-ORIG-GUID: ahoyhI6DzsxUL-kM9MKFj9YJaEJ_qIPc X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1057,Hydra:6.0.680,FMLib:17.12.68.34 definitions=2025-02-24_12,2025-02-24_02,2024-11-22_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 spamscore=0 mlxscore=0 phishscore=0 clxscore=1015 malwarescore=0 adultscore=0 mlxlogscore=909 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2308100000 definitions=main-2502250005 X-Apple-Remote-Links: v=1;h=KCk=;charset=UTF-8 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: , Reply-to: Andrew Wong X-ACL-Warn: , Andrew Wong via Guix-patches X-Patchwork-Original-From: Andrew Wong via Guix-patches via From: Andrew Wong 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-documented-macros-0.9): New variable. Change-Id: I4a42d60b1c9302511cf5924b62b77d86f83125db --- gnu/packages/crates-io.scm | 50 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 8efc8a8285..1b50d4b131 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -21926,6 +21926,56 @@ (define-public rust-document-features-0.2 @code{Cargo.toml}.") (license (list license:expat license:asl2.0)))) +(define-public rust-documented-macros-0.9 + (package + (name "rust-documented-macros") + (version "0.9.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "documented-macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1yp5hy7r88x1bjcyclqyrkpiddm42xmpr3s1znjzjn4vj8svp553")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs (("rust-convert-case" ,rust-convert-case-0.6) + ("rust-itertools" ,rust-itertools-0.13) + ("rust-optfield" ,rust-optfield-0.3) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-strum" ,rust-strum-0.26) + ("rust-syn" ,rust-syn-2)))) + (home-page "https://github.com/cyqsimon/documented") + (synopsis "Derive and attribute macros for `documented`") + (description + "This package provides Derive and attribute macros for `documented`.") + (license license:expat))) + +(define-public rust-documented-0.9 + (package + (name "rust-documented") + (version "0.9.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "documented" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1wy67lk299zn0csr5fkmxyz0vkas0ycqk26ys99lbg4m14pv6vdw")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-documented-macros" ,rust-documented-macros-0.9) + ("rust-phf" ,rust-phf-0.11) + ("rust-thiserror" ,rust-thiserror-1)))) + (home-page "https://github.com/cyqsimon/documented") + (synopsis + "Derive and attribute macros for accessing your type's documentation at runtime") + (description + "This package provides Derive and attribute macros for accessing your type's documentation at runtime.") + (license license:expat))) + (define-public rust-documented-0.6 (package (name "rust-documented")