From patchwork Sat May 4 11:34: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: 64027 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 89C3B27BBEA; Sat, 4 May 2024 12:38:46 +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=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 240A927BBE2 for ; Sat, 4 May 2024 12:38:44 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s3DiJ-0003fu-HE; Sat, 04 May 2024 07:38: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 1s3DiA-0003d6-Dh for guix-patches@gnu.org; Sat, 04 May 2024 07:37:53 -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 1s3DiA-0006Pn-48 for guix-patches@gnu.org; Sat, 04 May 2024 07:37:50 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s3DiW-0004W0-VP; Sat, 04 May 2024 07:38:12 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69257] [PATCH rust-team v3 26/75] gnu: Add rust-derive-builder-0.20. Resent-From: Herman Rimm Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Sat, 04 May 2024 11:38:12 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69257 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69257@debbugs.gnu.org Cc: Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 69257-submit@debbugs.gnu.org id=B69257.171482268417186 (code B ref 69257); Sat, 04 May 2024 11:38:12 +0000 Received: (at 69257) by debbugs.gnu.org; 4 May 2024 11:38:04 +0000 Received: from localhost ([127.0.0.1]:52996 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s3DiN-0004Ss-FK for submit@debbugs.gnu.org; Sat, 04 May 2024 07:38:04 -0400 Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:50345 helo=email.rimm.ee) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s3Di3-0004N3-Tl for 69257@debbugs.gnu.org; Sat, 04 May 2024 07:37:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1714822628; 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=Ca4H5B29yowljWAN1tpex++CnN+b0jdKvz/JKYjRkns=; b=JhJMNr5edypW7G70XwEHyX9dUz4GEs+8c875rn6b0UM2PeNzQ72iKumj1VTIgnpq6R0ER5 ItitAm77pgK9m0lrIW9+/gjLkTAwaZovzpP6glhzRh7NLn/I9vh0cmpx/8Es2vf13XmBg9 7MeW5Kc3xxAdpOhpfYvuK9a9rMOQT4v0cJnM2Y2zZfDA4PP5jeVtgajnPodY7hhLNAqDyR tY0muND5FbdsrhvWR/3T0EpCteKMu/EgeUQNauIanoR2EbZNGw4tv84bpWCodxD9sIkYMX SBUGTkwKs8H8jAVBZXxOWllkrqAE+abJ2krq6NbnrySB68BPcc3Viu3i74IIrw== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id 3b020ad2 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO) for <69257@debbugs.gnu.org>; Sat, 4 May 2024 11:37:08 +0000 (UTC) Date: Sat, 4 May 2024 13:34:58 +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-derive-builder-0.20): Add variable. (rust-derive-builder-0.13): Inherit from rust-derive-builder-0.20. --- gnu/packages/crates-io.scm | 37 ++++++++++++++++++++++++++++++------- 1 file changed, 30 insertions(+), 7 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 0e25deab9a..f7ae9f410f 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -20591,8 +20591,37 @@ (define-public rust-derive-arbitrary-0.4 (sha256 (base32 "1rp0z4k0j5ip0bx6dssg97l4q6bakhf6lm5h1lpr3p3kwjsi585i")))))) +(define-public rust-derive-builder-0.20 + (package + (name "rust-derive-builder") + (version "0.20.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "derive_builder" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1mzz0njgbrzlhj97md03df5knfcp5svw1ifn2rcqlqii0g5val03")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs + (("rust-pretty-assertions" ,rust-pretty-assertions-0.6) + ("rust-rustversion" ,rust-rustversion-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-trybuild" ,rust-trybuild-1)) + #:cargo-inputs + (("rust-derive-builder-macro" ,rust-derive-builder-macro-0.20)))) + (home-page "https://github.com/colin-kiegel/rust-derive-builder") + (synopsis "Builder pattern for arbitrary structs") + (description + "This package 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-0.13 (package + (inherit rust-derive-builder-0.20) (name "rust-derive-builder") (version "0.13.1") (source (origin @@ -20602,7 +20631,6 @@ (define-public rust-derive-builder-0.13 (sha256 (base32 "1irqx6bz74kx48ivdwqp2xl1ibr8dbdwgh6573r8g00d82gicncg")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-derive-builder-macro" ,rust-derive-builder-macro-0.13)) @@ -20611,12 +20639,7 @@ (define-public rust-derive-builder-0.13 ("rust-rustversion" ,rust-rustversion-1) ("rust-serde" ,rust-serde-1) ("rust-serde-json" ,rust-serde-json-1) - ("rust-trybuild" ,rust-trybuild-1)))) - (home-page "https://github.com/colin-kiegel/rust-derive-builder") - (synopsis "Builder pattern for arbitrary structs") - (description "Rust macro to automatically implement the builder pattern -for arbitrary structs.") - (license (list license:expat license:asl2.0)))) + ("rust-trybuild" ,rust-trybuild-1)))))) (define-public rust-derive-builder-0.12 (package