From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id aBcKA1DVK2cVCwAAe85BDQ:P1 (envelope-from ) for ; Wed, 06 Nov 2024 20:45:04 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id aBcKA1DVK2cVCwAAe85BDQ (envelope-from ) for ; Wed, 06 Nov 2024 21:45:04 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=OL1XRhUg; dkim=fail ("headers rsa verify failed") header.d=autistici.org header.s=stigmate header.b="o++Yxv/P"; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1730925903; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=FU/QvVeInzjl3udd8Oxa5WlANnJFwmi4aFywdMQDepY=; b=EWFpcjQjXapsaRl50RvU8bwsy6pmG7MFUw4O5KOuhdrwoManmvTK1Buxsx+GOeYfblHJzw kv6IrZTULrYz0KjQDGvo6jW5BpwHwFJs5wvJp7vuv3/1TWShtN/zaODOmTqI/LJgY8YVmV FXHQfteIS9KSegHUzjeCFPxKA9qy47vbHyhl7c73/3jeW9+hSOSph2qCPiZHU/OWRJiLP0 7u44l4ZZi4tRGPX5JNa8hSaImd1BVn2ozWdDbEybTff+QUoBmK1YfLWSsZ7jlxBH8Hl+wO XNDkGqaA1S2lJVcL59g9Ix0/NNwRJVe//KXL+NFacXIADwkdoSDal/b4lE35Lg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=OL1XRhUg; dkim=fail ("headers rsa verify failed") header.d=autistici.org header.s=stigmate header.b="o++Yxv/P"; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1730925903; a=rsa-sha256; cv=none; b=r6lNFjeGoF5n1yOp/BlunSGbT9C203zgVAPPTP14d1FlPeFkyKNEY3JeF8mFz+xmIuOIf6 csTyzHe+ZLch3rWK7QVp0VWR6JGjR9QHR6gur5N5llFI5O4cx9Vt+E0mJ//AgFJ6hrEBW7 Xz3S4dKHX+zzY9Z9E+6myinCV9x3Jt9ACXlbcJP3t4h5YOGLhgWORH0ATP6dkPdwRaN+8l LleU+tj+xevuniJ7C0wYlpFRsh/CZflkWOl1tDo5fGEmDokyfJ7bnYJ+3uTelmwmn5m2CW nMh+zeWuUAC4VajzwZcN1MZ1cN4Z/Mn1Q2KslM3Mr26MXq/85SQqey8Mnlzb/g== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C66C6840A1 for ; Wed, 06 Nov 2024 21:45:03 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t8mtB-0001cm-8k; Wed, 06 Nov 2024 15:44:29 -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 1t8msr-0001N9-9t for guix-patches@gnu.org; Wed, 06 Nov 2024 15:44: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 1t8msr-0001Jr-0e for guix-patches@gnu.org; Wed, 06 Nov 2024 15:44:09 -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=FU/QvVeInzjl3udd8Oxa5WlANnJFwmi4aFywdMQDepY=; b=OL1XRhUgI531LzDEmdcb/B0ikjyG4X5JdueEwzk7LnAq738lJudU2SX89Eof8mU5G007ut5UVjS7pLi6zsUO0JXvmoByFBeffLTqM3hkFDjh8ydYPWfQqezi8KtUur8YZkDGpeYkQ1+Sez8k+sCbbrodAH+IuSGAvFkBoQ1QBNIZLdVPXLbuZvz9vaxItMpnWerGK93JhhMvSrzO9XIHO5w0zZ/oNqgjnSQCY8qGZlH5WnrdXLDwVJd9CaP3WR9hWPHoxPYXhrENcpLPLPvBuyi1jqZLO/r3Tlh4mp/3ysGUSPmIoYvEL7yytRHiKZm7Tp6K+aR0pHn06+BNXeGsMQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t8msq-0003Vn-S8; Wed, 06 Nov 2024 15:44:08 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74232] [PATCH rust-team 13/25] gnu: Add rust-zbus-macros-4. Resent-From: Giacomo Leidi Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Wed, 06 Nov 2024 20:44:08 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74232 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74232@debbugs.gnu.org Cc: Giacomo Leidi , Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 74232-submit@debbugs.gnu.org id=B74232.173092583313252 (code B ref 74232); Wed, 06 Nov 2024 20:44:08 +0000 Received: (at 74232) by debbugs.gnu.org; 6 Nov 2024 20:43:53 +0000 Received: from localhost ([127.0.0.1]:45811 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t8msb-0003Rf-9D for submit@debbugs.gnu.org; Wed, 06 Nov 2024 15:43:53 -0500 Received: from confino.investici.org ([93.190.126.19]:59601) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t8msa-0003RY-7a for 74232@debbugs.gnu.org; Wed, 06 Nov 2024 15:43:52 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1730925824; bh=FU/QvVeInzjl3udd8Oxa5WlANnJFwmi4aFywdMQDepY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=o++Yxv/PMMi8uTCKtfJ/DLGysfR1bPwETLaw38/3/7D+B58X7XPQUjRZXJ7+9fGFA aXqqeK7HybdZaIqdVNIyFot4CswYeeaDVEwDkowc2wy+5nysTOey+I/gN8g+hKeA8J OTm1HEfxliT/YM0DUrH0i3VjJfCoXi/ZalmzZ9X0= Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4XkHH44bndz10vQ; Wed, 6 Nov 2024 20:43:44 +0000 (UTC) Received: from [93.190.126.19] (mx1.investici.org [93.190.126.19]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4XkHH31hHZz10t7; Wed, 6 Nov 2024 20:43:43 +0000 (UTC) Date: Wed, 6 Nov 2024 21:42:59 +0100 Message-ID: X-Mailer: git-send-email 2.46.0 In-Reply-To: <65269a0deca6af0c84975fffc88ed3525e6aa074.1730925790.git.goodoldpaul@autistici.org> References: <65269a0deca6af0c84975fffc88ed3525e6aa074.1730925790.git.goodoldpaul@autistici.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: Giacomo Leidi X-ACL-Warn: , Giacomo Leidi via Guix-patches From: Giacomo Leidi via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: 0.56 X-Spam-Score: 0.56 X-Migadu-Queue-Id: C66C6840A1 X-TUID: UUdFCYvgwWwD * gnu/packages/crates-io.scm (rust-zbus-macros-4): New variable; (rust-zbus-macros-3): inherit from rust-zbus-macros-4. Change-Id: I56d666fcbde40d6b457f50b220a3220852e054f8 --- gnu/packages/crates-io.scm | 50 +++++++++++++++++++++++++++++++++----- 1 file changed, 44 insertions(+), 6 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index c36fbb05b6..96ce2603a6 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -94618,8 +94618,51 @@ (define-public rust-zbus-1 ("rust-ntest" ,rust-ntest-0.7) ("rust-zbus-polkit" ,rust-zbus-polkit-1)))))) +(define-public rust-zbus-macros-4 + (package + (name "rust-zbus-macros") + (version "4.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "zbus_macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0glqn6ddgv4ra734p343a41rrxb0phy1v13dljzhpsc1f10bjz96")) + (modules '((guix build utils))) + (snippet + '(begin + (substitute* "Cargo.toml" + ;; Patch proc-macro2 version + (("1\\.0\\.81") "1.0.79") + ;; Patch quote version + (("1\\.0\\.36") "1.0.35") + ;; Patch syn version + (("2\\.0\\.64") "2.0.48") + ;; Patch async-io version + (("2\\.3\\.2") "2.3.1")))))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Tests need a running dbus instance. + #:cargo-inputs (("rust-proc-macro-crate" ,rust-proc-macro-crate-3) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2) + ("rust-zvariant-utils" ,rust-zvariant-utils-2)) + #:cargo-development-inputs + (("rust-async-io" ,rust-async-io-2) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-rustversion" ,rust-rustversion-1) + ("rust-serde" ,rust-serde-1) + ("rust-trybuild" ,rust-trybuild-1)))) + (home-page "https://github.com/dbus2/zbus/") + (synopsis "proc-macros for zbus") + (description "This package provides proc-macros for zbus.") + (license license:expat))) + (define-public rust-zbus-macros-3 (package + (inherit rust-zbus-macros-4) (name "rust-zbus-macros") (version "3.14.1") (source @@ -94629,7 +94672,6 @@ (define-public rust-zbus-macros-3 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "17dwc1vvvwxlgn78cpds72hcf7y1hxqkjnpm0zlc0y38ji57kla1")))) - (build-system cargo-build-system) (arguments `(#:tests? #f ; Tests need a running dbus instance. #:cargo-inputs (("rust-proc-macro-crate" ,rust-proc-macro-crate-1) @@ -94643,11 +94685,7 @@ (define-public rust-zbus-macros-3 ("rust-futures-util" ,rust-futures-util-0.3) ("rust-rustversion" ,rust-rustversion-1) ("rust-serde" ,rust-serde-1) - ("rust-trybuild" ,rust-trybuild-1)))) - (home-page "https://github.com/dbus2/zbus/") - (synopsis "proc-macros for zbus") - (description "This package provides proc-macros for zbus.") - (license license:expat))) + ("rust-trybuild" ,rust-trybuild-1)))))) (define-public rust-zbus-macros-1 (package -- 2.46.0