From patchwork Mon May 20 08:58:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Herman Rimm X-Patchwork-Id: 64675 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 7714727BBE2; Mon, 20 May 2024 10:03:07 +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=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,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 E80A427BBEC for ; Mon, 20 May 2024 10:03:03 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s8yuA-0000wk-7k; Mon, 20 May 2024 05:02:02 -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 1s8ytQ-0000Zv-HC for guix-patches@gnu.org; Mon, 20 May 2024 05:01:16 -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 1s8ytQ-0006rC-85 for guix-patches@gnu.org; Mon, 20 May 2024 05:01:16 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s8ytU-0007JU-NS; Mon, 20 May 2024 05:01:20 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71076] [PATCH 40/81] gnu: Add rust-synstructure-0.13. Resent-From: Herman Rimm Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Mon, 20 May 2024 09:01:20 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71076 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 71076@debbugs.gnu.org Cc: Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 71076-submit@debbugs.gnu.org id=B71076.171619566327624 (code B ref 71076); Mon, 20 May 2024 09:01:20 +0000 Received: (at 71076) by debbugs.gnu.org; 20 May 2024 09:01:03 +0000 Received: from localhost ([127.0.0.1]:41201 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s8ytC-0007BN-To for submit@debbugs.gnu.org; Mon, 20 May 2024 05:01:03 -0400 Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:57321 helo=email.rimm.ee) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s8ysX-000746-3J for 71076@debbugs.gnu.org; Mon, 20 May 2024 05:00:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1716195609; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=xOpPZN6YmFGCnx+eNUIY5JbJJyF9WjE6//oG1TlFsVk=; b=Y5B8WJcjacl/wAWE2guFfJRYJcwZxjXEOQqEaE33fUbJu7axDSK9Z0wlYOBlj/ihF7EQMf N3heG89nQ66MwTXakKlrAkKiOmKhzBSSTChUEkAahxUq8XC+kiCSeB1bLp0miulyc3vI98 I7gLWYsFJ0BhjcP0W//u19Qb3ezN6Zo4+mg22qiAtUUAxwuXiQzIMgA7Rz57tRra08a5nC Pg3ZPErd0kpss5cXUUBwgR6L20UbmpeOwQghCG3p2nUS6U7pHZdjQGSES14Qp4UwTq9cbG Vc6gJ880h/56KzBnzk5O+kV+3puBcRsaM5i+hSHa932QCDrxBcJmbP+B2xWzBw== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id 46dad023 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO) for <71076@debbugs.gnu.org>; Mon, 20 May 2024 09:00:09 +0000 (UTC) Date: Mon, 20 May 2024 10:58:45 +0200 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: Herman Rimm X-ACL-Warn: , Herman Rimm via Guix-patches X-Patchwork-Original-From: Herman Rimm via Guix-patches via From: Herman Rimm 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): Add variable. (rust-synstructure-0.12): Inherit from rust-synstructure-0.13. Change-Id: I9326c5874a67e0ead6161f91d3dca04193c46b44 --- 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 9485ed62d4..7db9254402 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -79421,8 +79421,34 @@ (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.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "synstructure" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0wc9f002ia2zqcbj0q2id5x6n7g1zjqba7qkg2mr0qvvmdk7dby8")))) + (build-system cargo-build-system) + (arguments + (list + #:cargo-inputs (list rust-proc-macro2-1 rust-quote-1 rust-syn-2) + #:cargo-development-inputs + (list 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 @@ -79434,7 +79460,6 @@ (define-public rust-synstructure-0.12 (sha256 (base32 "03r1lydbf3japnlpc4wka7y90pmz1i0danaj3f9a7b431akdlszk")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs @@ -79450,12 +79475,8 @@ (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