From patchwork Fri Dec 22 22:11:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jaeme Sifat X-Patchwork-Id: 57989 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 180F327BBE9; Fri, 22 Dec 2023 22:14:10 +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=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,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 CAF6527BBE2 for ; Fri, 22 Dec 2023 22:14:08 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rGnmJ-0000yk-Vy; Fri, 22 Dec 2023 17:14:00 -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 1rGnmH-0000wb-Fs for guix-patches@gnu.org; Fri, 22 Dec 2023 17:13:57 -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 1rGnmH-0008EO-7C for guix-patches@gnu.org; Fri, 22 Dec 2023 17:13:57 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rGnmL-00078D-Vu; Fri, 22 Dec 2023 17:14:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67974] [PATCH 1/3] gnu: Add rust-synstructure-0.13. Resent-From: Jaeme Sifat Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Fri, 22 Dec 2023 22:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67974 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67974@debbugs.gnu.org Cc: Jaeme Sifat , Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 67974-submit@debbugs.gnu.org id=B67974.170328318827303 (code B ref 67974); Fri, 22 Dec 2023 22:14:01 +0000 Received: (at 67974) by debbugs.gnu.org; 22 Dec 2023 22:13:08 +0000 Received: from localhost ([127.0.0.1]:48019 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rGnlU-00076I-9V for submit@debbugs.gnu.org; Fri, 22 Dec 2023 17:13:08 -0500 Received: from mailtransmit05.runbox.com ([2a0c:5a00:149::26]:38902) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rGnlR-00075j-Hk for 67974@debbugs.gnu.org; Fri, 22 Dec 2023 17:13:07 -0500 Received: from mailtransmit03.runbox ([10.9.9.163] helo=aibo.runbox.com) by mailtransmit05.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1rGnlD-005EXU-PV for 67974@debbugs.gnu.org; Fri, 22 Dec 2023 23:12:51 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=runbox.com; s=selector2; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To :Message-ID:Date:Subject:Cc:To:From; bh=Gz0IlD5YIOY9FQzrq+I8YmDDwvLrKo6aRbyESUVNeBw=; b=FoKy7YDkoguz/E+PmeggUKs1uk FtNNruyNlRUAUIjqCnoXXNhR7d7KSzGPCXkxGDxB3K+3E8dku7r497aBLVIdna27GC7efgElTcWjs xDuZxb9yVtleDTHSSkHNT4Hx5n+fQiywmaWy/F5TMH7IlCB84LQqh074PYqQDodJiRaSf4r9ReKh5 yz0yYD4fsiJ9X3SZF+5uVor4FeMpgvKdtEr9K5cLrYMb/ktutkn70X16xwbw4ba+iCJUDDLeCiFeA tIusSLpKxkPNqmkD/5nssnDicxydMyapCxWElxNClWEgoIQSaRN+SDP2IYllr+hhE8Acl84QPokBq U/5R2sVw==; Received: from [10.9.9.73] (helo=submission02.runbox) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1rGnlD-00035z-6K for 67974@debbugs.gnu.org; Fri, 22 Dec 2023 23:12:51 +0100 Received: by submission02.runbox with esmtpsa [Authenticated ID (1176697)] (TLS1.2:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.93) id 1rGnl7-00FMl0-D8; Fri, 22 Dec 2023 23:12:45 +0100 Date: Fri, 22 Dec 2023 17:11:42 -0500 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: References: 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: , Reply-to: Jaeme Sifat X-ACL-Warn: , Jaeme Sifat via Guix-patches X-Patchwork-Original-From: Jaeme Sifat via Guix-patches via From: Jaeme Sifat 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-synstructure-0.13): New variable. Change-Id: I3d26757bcd0993c28714325554775c938c185f2b --- gnu/packages/crates-io.scm | 35 ++++++++++++++++++++++++++++------- 1 file changed, 28 insertions(+), 7 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 54646a4549..01090ec1a7 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -77301,8 +77301,35 @@ (define-public rust-synom-0.11 "Stripped-down Nom parser used by Syn.") (license (list license:expat license:asl2.0)))) +(define-public rust-synstructure-0.13 + (package + (name "rust-synstructure") + (version "0.13.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "synstructure" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "01jvj55fxgqa69sp1j9mma09p9vj6zwcvyvh8am81b1zfc7ahnr8")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2) + ("rust-unicode-xid" ,rust-unicode-xid-0.2)) + #:cargo-development-inputs + (("rust-synstructure-test-traits" ,rust-synstructure-test-traits-0.1)))) + (home-page "https://github.com/mystor/synstructure") + (synopsis "Helper methods and macros for custom derives") + (description + "This package provides helper methods and macros for custom derives.") + (license license:expat))) + (define-public rust-synstructure-0.12 (package + (inherit rust-synstructure-0.13) (name "rust-synstructure") (version "0.12.6") (source @@ -77314,7 +77341,6 @@ (define-public rust-synstructure-0.12 (sha256 (base32 "03r1lydbf3japnlpc4wka7y90pmz1i0danaj3f9a7b431akdlszk")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs @@ -77330,12 +77356,7 @@ (define-public rust-synstructure-0.12 (add-after 'unpack 'fix-test (lambda _ (substitute* "src/lib.rs" - (("non_upper_case_globals )") "non_upper_case_globals)"))))))) - (home-page "https://github.com/mystor/synstructure") - (synopsis "Helper methods and macros for custom derives") - (description - "This package provides helper methods and macros for custom derives.") - (license license:expat))) + (("non_upper_case_globals )") "non_upper_case_globals)"))))))))) (define-public rust-synstructure-test-traits-0.1 (package