From patchwork Mon Sep 9 10:07:58 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Herman Rimm X-Patchwork-Id: 67799 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 8773327BBEA; Mon, 9 Sep 2024 11:10:21 +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=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,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 47B8027BBE2 for ; Mon, 9 Sep 2024 11:10:20 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1snbLS-0004sr-Lt; Mon, 09 Sep 2024 06:10:07 -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 1snbLN-0004pJ-HL for guix-patches@gnu.org; Mon, 09 Sep 2024 06:10:01 -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 1snbLN-0000B7-1w for guix-patches@gnu.org; Mon, 09 Sep 2024 06:10:01 -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=2l2jEZh+smyC+mHKxbyVUlFyDf4F9m8mWqDYBBgdjqQ=; b=LVDhbcfpeshOBz8ZY16kSL44LHXvyRGISntAOm9cYE7+AtXzRiFwyrFAQZ/Smt+5n7MmzR3BRUsNmFhKrMRz46iBUxUhOtBmOtGTAmjHpaB1nKfDpXKNMpYrdOPvgBalnIqJbhldJp/F8zjZx/lATrYRcT3xZR+GyTpkIto5qSK1Yc9hd0onfNwIizPLGIQ7ACXxtrtFK4yEqdmvdtstmuJIZ/3gtbO+9tOgUe6gfCuhS+p+XnCeBziDs9ZcZspYssR8c4m+Bg3XgX6RjI5HdYVlTpdFo9gEx0hDACO6RhSAHETFqoGSE9zn5u19glW3g8+YzvK4q2JYdIlYwYIeSA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1snbLQ-0003S5-Dg for guix-patches@gnu.org; Mon, 09 Sep 2024 06:10:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73094] [PATCH v3 05/10] gnu: Add rust-derive-builder-macro-0.20. Resent-From: Herman Rimm Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 09 Sep 2024 10:10:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73094 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73094@debbugs.gnu.org Cc: Nicolas Graves Received: via spool by 73094-submit@debbugs.gnu.org id=B73094.172587655613127 (code B ref 73094); Mon, 09 Sep 2024 10:10:04 +0000 Received: (at 73094) by debbugs.gnu.org; 9 Sep 2024 10:09:16 +0000 Received: from localhost ([127.0.0.1]:60691 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1snbKd-0003PZ-TM for submit@debbugs.gnu.org; Mon, 09 Sep 2024 06:09:16 -0400 Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:35621 helo=email.rimm.ee) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1snbKY-0003NV-4N for 73094@debbugs.gnu.org; Mon, 09 Sep 2024 06:09:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1725876536; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=2l2jEZh+smyC+mHKxbyVUlFyDf4F9m8mWqDYBBgdjqQ=; b=MEvIgRFkPt747XHFcbEISopr9IfNlp+SGipoyBEDDH0hOOaTQ4AblpG/742yvr0OhQoJGi 3P7nfzW97jWctpQ7RKkMZOyiohkkwFwXzLUM3ilbGfE9wy7T1ar9q/9ugfAz2Ei9Av/SDS XNBga3t/IegD9/CUSQqB+Sp677d5267NBDA98hAF6AzHpdjD3co+9Imchf0UInZTweCxn2 /4NfHLd/HmcU0UjYU8z1WPoyI7utURrjRClBNpRqc9v49zg4h9qxbXAT9pp0yRJDwjrlS7 jK/TR0sN6SMK+KDofYF0cHabnp4nWqMdG1lTC/8kuVypJbVuwLlMglNKxNhYeA== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id d6b5da31 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Mon, 9 Sep 2024 10:08:56 +0000 (UTC) Date: Mon, 9 Sep 2024 12:07:58 +0200 Message-ID: <20240909100804.13552-6-herman@rimm.ee> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240909100804.13552-1-herman@rimm.ee> References: <20240909100804.13552-1-herman@rimm.ee> 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 From: Nicolas Graves * gnu/packages/crates-io.scm (rust-derive-builder-macro-0.20): New variable. (rust-derive-builder-macro-0.13): Inherit from rust-derive-builder-macro-0.20. Change-Id: I7d39f3638c233c61f3ee29a2d107cc0e154a0246 --- gnu/packages/crates-io.scm | 32 ++++++++++++++++++++++++-------- 1 file changed, 24 insertions(+), 8 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 8acf6c007d..42b8886f3f 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -20722,8 +20722,31 @@ (define-public rust-derive-builder-core-0.5 ("rust-quote" ,rust-quote-0.6) ("rust-syn" ,rust-syn-0.15)))))) +(define-public rust-derive-builder-macro-0.20 + (package + (name "rust-derive-builder-macro") + (version "0.20.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "derive_builder_macro" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1p2ijj442j30cvd1x5231jw8b4klyf65sl3rnxvri6zpbc1ygfja")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-derive-builder-core" ,rust-derive-builder-core-0.20) + ("rust-syn" ,rust-syn-1)))) + (home-page "https://github.com/colin-kiegel/rust-derive-builder") + (synopsis "Automatically implement the builder pattern for arbitrary structs") + (description + "This crate provides a Rust macro to automatically implement the builder +pattern for arbitrary structs.") + (license (list license:expat license:asl2.0)))) + (define-public rust-derive-builder-macro-0.13 (package + (inherit rust-derive-builder-macro-0.20) (name "rust-derive-builder-macro") (version "0.13.1") (source (origin @@ -20733,16 +20756,9 @@ (define-public rust-derive-builder-macro-0.13 (sha256 (base32 "09q17rzgf8bsj8n1bhlf4f93nmqg8va6321ppcd07f1mzg1nh0w7")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-derive-builder-core" ,rust-derive-builder-core-0.13) - ("rust-syn" ,rust-syn-1)))) - (home-page "https://github.com/colin-kiegel/rust-derive-builder") - (synopsis "Automatically implement the builder pattern for arbitrary structs") - (description - "This crate provides a Rust macro to automatically implement the builder -pattern for arbitrary structs.") - (license (list license:expat license:asl2.0)))) + ("rust-syn" ,rust-syn-1)))))) (define-public rust-derive-builder-macro-0.12 (package