From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.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 0O7EDYLaK2fwbAAAqHPOHw:P1 (envelope-from ) for ; Wed, 06 Nov 2024 21:07:14 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 0O7EDYLaK2fwbAAAqHPOHw (envelope-from ) for ; Wed, 06 Nov 2024 22:07:14 +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=Tes0qIqz; dkim=fail ("headers rsa verify failed") header.d=autistici.org header.s=stigmate header.b=laxTj0uG; 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=1730927234; 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=TzpcrpatqRefs6YGTX/Dqzu5IrP2KlTb3PCY0CNHcoc=; b=V4qzWSVX/5mVKhZP+p2mfm0GGCZpOWB3YhqciBCw4wnkbUsZlFRBDjluWRkXNe8sZkgiSN TBaPaOsMaBk7yq8GmZ5dqUEQnSBBlg4Q+asbtn0y4Ap/C3rwwBAwLATEEfwQJvX9mkPsIa Dj1MN0WO9D4x3vUtV/kaHOh+IAZbfVhStpuHHMchDU4HkUlZC8/oGbG/ntSKO+xm8NBssd 6T3Vu9usFP7X/Hc81GqYtRDw6R4dlFODKCk2Bv8ZOF/zA+GEXNZPmYnwD+M0lIw4UUlbbS IhHikjlaPcVLplH1PRHrvqY/M4g5fMA797s9uk7NjOOOWaT5DunPWWuVr35drA== 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=Tes0qIqz; dkim=fail ("headers rsa verify failed") header.d=autistici.org header.s=stigmate header.b=laxTj0uG; 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=1730927234; a=rsa-sha256; cv=none; b=MkK0HtSfK11Mbk0+lFccjK60DvSZ7Dc7Te7mv8cT5zbHWq0LNqEfUjGBUU1+gXL+Jv9TIU QvJeY7+ec5+fNZKtvWyOyM+AvTLoiMm3/VL2mgpzpoQDYn6Odb/jkF7jBZ7JQwsnM/BRul tT9XvwwdJ1AjbjtY20guAMJveeAI48bsUvhzx5Cc66y4QefOUAYgwxPEPK+EHirPHoKa0e BWyAjG5N6jdeuk7Xy1DlYnD2T1mMUrBUsEpBGSH3paV7X+Y3FjPMMsnf7KIRngsKPzuUsY SykPwCHGKKMW1nm4FeS+8iIW51BCbbOujIPrJwmfO6n8MgyfsS/iSXrA2Ql8vg== 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 06F2F84E19 for ; Wed, 06 Nov 2024 22:07:14 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t8mtB-0001d3-M5; 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 1t8msy-0001SJ-5R for guix-patches@gnu.org; Wed, 06 Nov 2024 15:44:18 -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 1t8msx-0001LU-Sh for guix-patches@gnu.org; Wed, 06 Nov 2024 15:44:15 -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=TzpcrpatqRefs6YGTX/Dqzu5IrP2KlTb3PCY0CNHcoc=; b=Tes0qIqzDwz+0hJ0mtTxUGbY7vp7hP0MxIuffm+vslDJfHW9MldA0vaXI7kFiYe7OInB7/TPeMCrzIe0DjnJVkdrAI7LiPf0AxZB0RaYHQiMt7Un1yXhDQhIdJVhArJJfdQ5cOiThmM8h00WRQj5sGX2+am/pSLW6eGGCmVV4Y5tutxwfJnJ8Fu0jD0bfYCmK8AmZTzKjVoDSUyWskUEIMBgzAvxht5Y00bxQ5ok/OBlCJBYjRBHNHIrQjII8zcfEhO5irSDsld++6RiFj4IEJ46okjgWgWL1nJzKHWAmf9uYRE+Nh3HJBRl/SXgvP5jZesjO+RVsn+D9Cs4bFrK4Q==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t8msx-0003Y0-NJ; Wed, 06 Nov 2024 15:44:15 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74232] [PATCH rust-team 25/25] gnu: Add rust-zbus-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:15 +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.173092585413620 (code B ref 74232); Wed, 06 Nov 2024 20:44:15 +0000 Received: (at 74232) by debbugs.gnu.org; 6 Nov 2024 20:44:14 +0000 Received: from localhost ([127.0.0.1]:45889 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t8msv-0003XN-Ow for submit@debbugs.gnu.org; Wed, 06 Nov 2024 15:44:14 -0500 Received: from confino.investici.org ([93.190.126.19]:25801) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t8msq-0003Vf-Ji for 74232@debbugs.gnu.org; Wed, 06 Nov 2024 15:44:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1730925840; bh=TzpcrpatqRefs6YGTX/Dqzu5IrP2KlTb3PCY0CNHcoc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=laxTj0uG0ysNrNHt2CsBb/SVrxnrZ20t9meGJAW3AiUIp0gmR69ESRvYIoccr1os7 j1oHijQzhQZX3acu9CmJwoUs4MB0tALxJ+9PeMc4JktKLMIF+K9S04F+s9RKHm220d +AJo1QEdttTlGtmkqi6lMrCR3oKyLw/i2kjQnb/g= Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4XkHHN6NqXz10vR; Wed, 6 Nov 2024 20:44:00 +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 4XkHHN3z74z10t7; Wed, 6 Nov 2024 20:44:00 +0000 (UTC) Date: Wed, 6 Nov 2024 21:43:11 +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: 06F2F84E19 X-TUID: x4eooI6ZWD3i * gnu/packages/crates-io.scm (rust-zbus-4): New variable; (rust-zbus-3): inherit from rust-zbus-4. Change-Id: I3afcc0c3b07284932a329e22880dda160a32272b --- gnu/packages/crates-io.scm | 86 +++++++++++++++++++++++++++++++++++--- 1 file changed, 80 insertions(+), 6 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index ebebe0f525..55a2203451 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -94685,8 +94685,87 @@ (define-public rust-zbase32-0.1 (description "This package provides an implementation of zbase32.") (license license:lgpl3+))) +(define-public rust-zbus-4 + (package + (name "rust-zbus") + (version "4.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "zbus" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "09f7916lp7haxv1y5zgcg99ny15whi6dn3waf1afcafxx8mh35xv")) + (modules '((guix build utils))) + (snippet + '(begin + (substitute* "Cargo.toml" + ;; Patch async-io version + (("2\\.3\\.2") "2.3.1") + ;; Patch async-trait version + (("0\\.1\\.80") "0.1.77") + ;; Patch enumflags2 version + (("0\\.7\\.9") "0.7.7") + ;; Patch serde_repr version + (("0\\.1\\.19") "0.1.18") + ;; Patch ntest version + (("0\\.9\\.2") "0.9.0") + ;; Patch test-log version + (("0\\.2\\.16") "0.2.11")))))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Not all files included. + #:cargo-inputs (("rust-async-broadcast" ,rust-async-broadcast-0.7) + ("rust-async-executor" ,rust-async-executor-1.11) + ("rust-async-fs" ,rust-async-fs-2) + ("rust-async-io" ,rust-async-io-2) + ("rust-async-lock" ,rust-async-lock-3) + ("rust-async-process" ,rust-async-process-2) + ("rust-async-recursion" ,rust-async-recursion-1.1) + ("rust-async-task" ,rust-async-task-4) + ("rust-async-trait" ,rust-async-trait-0.1) + ("rust-blocking" ,rust-blocking-1.6) + ("rust-enumflags2" ,rust-enumflags2-0.7) + ("rust-event-listener" ,rust-event-listener-5) + ("rust-futures-core" ,rust-futures-core-0.3) + ("rust-futures-sink" ,rust-futures-sink-0.3) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-hex" ,rust-hex-0.4) + ("rust-nix" ,rust-nix-0.29) + ("rust-ordered-stream" ,rust-ordered-stream-0.2) + ("rust-rand" ,rust-rand-0.8) + ("rust-serde" ,rust-serde-1) + ("rust-serde-repr" ,rust-serde-repr-0.1) + ("rust-sha1" ,rust-sha1-0.10) + ("rust-static-assertions" ,rust-static-assertions-1) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-vsock" ,rust-tokio-vsock-0.4) + ("rust-tracing" ,rust-tracing-0.1) + ("rust-uds-windows" ,rust-uds-windows-1) + ("rust-vsock" ,rust-vsock-0.5) + ("rust-windows-sys" ,rust-windows-sys-0.52) + ("rust-xdg-home" ,rust-xdg-home-1.1) + ("rust-zbus-macros" ,rust-zbus-macros-4) + ("rust-zbus-names" ,rust-zbus-names-3) + ("rust-zbus-xml" ,rust-zbus-xml-4) + ("rust-zvariant" ,rust-zvariant-4)) + #:cargo-development-inputs + (("rust-async-std" ,rust-async-std-1) + ("rust-doc-comment" ,rust-doc-comment-0.3) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-ntest" ,rust-ntest-0.9) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-test-log" ,rust-test-log-0.2) + ("rust-tokio" ,rust-tokio-1) + ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3)))) + (home-page "https://github.com/dbus2/zbus/") + (synopsis "API for D-Bus communication") + (description "This package provides an API for D-Bus communication.") + (license license:expat))) + (define-public rust-zbus-3 (package + (inherit rust-zbus-4) (name "rust-zbus") (version "3.14.1") (source @@ -94696,7 +94775,6 @@ (define-public rust-zbus-3 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0j5rxgszrmkk5pbpwccrvj3gflwqw8jv8wfx9v84qbl75l53kpii")))) - (build-system cargo-build-system) (arguments `(#:tests? #f ; Not all files included. #:cargo-inputs @@ -94746,11 +94824,7 @@ (define-public rust-zbus-3 ("rust-tempfile" ,rust-tempfile-3) ("rust-test-log" ,rust-test-log-0.2) ("rust-tokio" ,rust-tokio-1) - ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3)))) - (home-page "https://github.com/dbus2/zbus/") - (synopsis "API for D-Bus communication") - (description "This package provides an API for D-Bus communication.") - (license license:expat))) + ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3)))))) (define-public rust-zbus-1 (package -- 2.46.0