From patchwork Sun Jan 5 23:01:13 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Wong X-Patchwork-Id: 36658 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 334EC27BBE9; Sun, 5 Jan 2025 23:03:37 +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=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 3D70827BBE2 for ; Sun, 5 Jan 2025 23:03:35 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tUZeV-00071P-QD; Sun, 05 Jan 2025 18:03:23 -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 1tUZeH-0006vv-Nt for guix-patches@gnu.org; Sun, 05 Jan 2025 18:03:10 -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 1tUZeF-00044m-7l for guix-patches@gnu.org; Sun, 05 Jan 2025 18:03:08 -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=ooC40FcA+rgE21+YOqLxapNH+JL5B9/Nhuj2BP9lmuY=; b=YLIbnN9k1XyDL0xIO+jmbQ3rQO2m2Hwcz+OrURy3ljZZ7Qn7vjGM93nIbeQHZRGSYTNN8yKmwLm3N3HkQW8c2I4q52DGCtStx+xBNfgJLGSNrzplK0XkG+s1Xyh/7cxVMmIO1vJof06oxGpLPFrIZJsRF14AWSGpKygGwM9et2IvU2f13PC7Sm/HKXls2zlHtNozC31i9gIMhcNeTKUNSbf3XRO5UiYDYYxuoX3uAPX0Gm07CGurnwl/YSuMsbTUhg3Bqn6IVEr9t1PhtGZK1Jd4RMq84DJanPxOGaItcC8FBEq30ZJHbYHyMIOYrbkyR+2g1C20oEAL6fVrWk6Luw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tUZeE-0002FE-V3; Sun, 05 Jan 2025 18:03:06 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#75391] [PATCH 10/12] gnu: Add rust-optfield-0.3. Resent-From: Andrew Wong Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Sun, 05 Jan 2025 23:03:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75391 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 75391@debbugs.gnu.org Cc: Andrew Wong , Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 75391-submit@debbugs.gnu.org id=B75391.17361181558468 (code B ref 75391); Sun, 05 Jan 2025 23:03:06 +0000 Received: (at 75391) by debbugs.gnu.org; 5 Jan 2025 23:02:35 +0000 Received: from localhost ([127.0.0.1]:35835 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tUZdi-0002CP-S1 for submit@debbugs.gnu.org; Sun, 05 Jan 2025 18:02:35 -0500 Received: from qs51p00im-qukt01072302.me.com ([17.57.155.13]:5191) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tUZdZ-0002A9-LI for 75391@debbugs.gnu.org; Sun, 05 Jan 2025 18:02:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=icloud.com; s=1a1hai; t=1736118139; bh=ooC40FcA+rgE21+YOqLxapNH+JL5B9/Nhuj2BP9lmuY=; h=From:To:Subject:Date:Message-ID:MIME-Version:x-icloud-hme; b=H1Oy+gD3fttHZz19Wxln7Ucz0H7JtnBl251a3Ak/1tAc6jUkHyBJhbFnkQnO10niE eAYAjiOGxCewQ9HhvZcCIMo8TcfyCfDFT6VhzZP9o++PbpT+hh23YKD/aLlQVhYOmt QM675zlNrOBYVsGMrWJkuslRlDoJe5N8BdfsNXHeoM4KzUd0iU98bHfpDIXyNV2e5B jAtG/iAhG/4hsctIlcvCRnBnLhIQlWYyWSQv6W0EZFcSJsfGOq/a9YB5NpLhsf1hlf TOacRzS1NYD2rx0Iggo4x5yBtpCbo+jQZYFtzQdnnXy/GJywXUL+DPNiGMJoxUtW0Y USOPBekftRgPw== Received: from wongworks.lan (qs51p00im-dlb-asmtp-mailmevip.me.com [17.57.155.28]) by qs51p00im-qukt01072302.me.com (Postfix) with ESMTPSA id 5F46663002DB; Sun, 5 Jan 2025 23:02:18 +0000 (UTC) Date: Sun, 5 Jan 2025 18:01:13 -0500 Message-ID: <0f0db7a60f7f16309bf747ad9406c66a83b43c4f.1736117350.git.wongandj@icloud.com> X-Mailer: git-send-email 2.47.1 In-Reply-To: References: MIME-Version: 1.0 X-Proofpoint-ORIG-GUID: 0-ArWN5bFoifjxLjqzo9LeHZ4PA1sJHr X-Proofpoint-GUID: 0-ArWN5bFoifjxLjqzo9LeHZ4PA1sJHr X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1057,Hydra:6.0.680,FMLib:17.12.68.34 definitions=2025-01-02_03,2025-01-02_01,2024-11-22_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=965 suspectscore=0 clxscore=1015 spamscore=0 bulkscore=0 mlxscore=0 phishscore=0 malwarescore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2308100000 definitions=main-2501050215 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-optfield-0.3): New variable. Change-Id: I5686f2d92365833459959312f8da6a312d558d85 --- gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 26c3837721..6ea089ff04 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -49230,6 +49230,29 @@ (define-public rust-opml-1 (description "This package provides an OPML parser for Rust.") (license (list license:expat license:asl2.0)))) +(define-public rust-optfield-0.3 + (package + (name "rust-optfield") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "optfield" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "079a5n7lhqsj444fkgk580vra5v2nhym7czwnky9iip9rljz0ngs")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)))) + (home-page "https://github.com/roignpar/optfield") + (synopsis "macro that generates structs with optional fields") + (description + "This package provides a macro that generates structs with optional fields.") + (license (list license:expat license:asl2.0)))) + (define-public rust-optick-1 (package (name "rust-optick")