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 OABeI1/VK2fqNQAAe85BDQ:P1 (envelope-from ) for ; Wed, 06 Nov 2024 20:45:19 +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 OABeI1/VK2fqNQAAe85BDQ (envelope-from ) for ; Wed, 06 Nov 2024 21:45:19 +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=QgawbeoZ; dkim=fail ("headers rsa verify failed") header.d=autistici.org header.s=stigmate header.b=oZmx5hCA; 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=1730925919; 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=Qsy6xZfH1PlpY3ME5dEvSx1fBv9yhpy2J5L1mKAnftY=; b=KUDHdKU1dL+TujWq/OX73cz8Zzz1gdbiZKRtGY3fJ8t4j6v2ZRdesr3e0P9zVL6/IamZv9 KSQMsobDaz+IHsdgI/V37/72wh4N31VBXzZvH0M+WZTCkePcw1y9NSh+bOyJboCAwW3INR iJb3LaGeCclBOAsUERME6Ay1MP5u0qhtjV4jhPjWpAr3ZTf47NOFmc2PDhB1GR/gIZPH4T Xm02Q8aqwnzGRJqPitCptPNIepRJtkY+9gMELITud4kmRxPgM+xJRHAVJfzwn0zqeurKGQ XQ9v4SXSM/Cz4qVaFfjrCDA14kA/FT7OG2HH1E47WopL8dey3JrPnxRcENNi1Q== 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=QgawbeoZ; dkim=fail ("headers rsa verify failed") header.d=autistici.org header.s=stigmate header.b=oZmx5hCA; 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=1730925919; a=rsa-sha256; cv=none; b=C6Vq+0Dc3wbk21hzxmjeFUmcqyiFcFZhAWhR44KFtsKThzBBqQWIasTiuVaNuScD3Xww1f 8cra3Gdf+FPX7uz3RIASUwod0AzYp6yFo1K2jnTA5qG2Y/3Ohz+EZpDogITYFNIRv4PT1t /F21oajGyLQTDFUQMsJ+0qwD7ATBeMiwwiOI+8jmIqS1kKiR0GXgXw6jo8YT5FWBlZusgi u6i04tHCPwcqvj5Fi2/hAQi8Qth/SNFHppWnj0WyRlqZ6vKz2a9uIMs+UVZc6Y4zrHjw08 wiqhr3YP1li1HVakerXqsXuiP3mojAgsvYAHOmeFWlkZnepaIT4/cIiBeJpgvQ== 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 75B7F83E56 for ; Wed, 06 Nov 2024 21:45:19 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t8mtB-0001ce-1V; 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 1t8msp-0001KA-8G for guix-patches@gnu.org; Wed, 06 Nov 2024 15:44:08 -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 1t8mso-0001J1-Vj for guix-patches@gnu.org; Wed, 06 Nov 2024 15:44:07 -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=Qsy6xZfH1PlpY3ME5dEvSx1fBv9yhpy2J5L1mKAnftY=; b=QgawbeoZ7GpSWiLm4cBYvwj/LY2pXCO9eQl/29nJhC1AlDQ6ec7cmXmeN3BdRDznJvyOmhzOCXme9k24d0A+c7HaxQd77/xzW1xwwY43bNHlrFr5q40F/PbNDCPboOeO30r2U/qMM0faeawLWVqzzPJYu4DB6FdrCZtgFcWgcnGHlDJ1DPced/p4OVgkbPtElr/jqmjGS4bz2/DNhu8XJWzFaJvRyuFkjNABiq5J4W1Evb0OlLXFLLhYtePWDoWLdTXbMeOu6xIlRWnj5tQ0JuuwEpMrGJf7FoyZT/dIElYXzUq2zlLCPMFeRs02TNKf+hrxID8CNQukq7tYd/73Jg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t8mso-0003VE-RI; Wed, 06 Nov 2024 15:44:06 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74232] [PATCH rust-team 10/25] gnu: Add rust-tokio-vsock-0.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:06 +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.173092582413205 (code B ref 74232); Wed, 06 Nov 2024 20:44:06 +0000 Received: (at 74232) by debbugs.gnu.org; 6 Nov 2024 20:43:44 +0000 Received: from localhost ([127.0.0.1]:45802 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t8msS-0003Qt-Eg for submit@debbugs.gnu.org; Wed, 06 Nov 2024 15:43:44 -0500 Received: from confino.investici.org ([93.190.126.19]:52223) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t8msN-0003Ow-3V for 74232@debbugs.gnu.org; Wed, 06 Nov 2024 15:43:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1730925818; bh=Qsy6xZfH1PlpY3ME5dEvSx1fBv9yhpy2J5L1mKAnftY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=oZmx5hCAFFb/A0M0GEmzNPC594DagJUnBsvJFrVU6EwlL7GLf/7M+6+ZRREzPZxfO KEcoD6kTIf/VuhNERchTP3Di/mrJj8Uu00exRry3IImMxcB87SiW0QfM5kXxdJX6z+ mop+uZkvVWJO0aXiIYkLkBR1W/+dHR4i9LaICPKA= Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4XkHGy6kP4z10vR; Wed, 6 Nov 2024 20:43:38 +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 4XkHGy40LFz10t7; Wed, 6 Nov 2024 20:43:38 +0000 (UTC) Date: Wed, 6 Nov 2024 21:42:56 +0100 Message-ID: <7ebe562efaa82e466897c70646987e04e99154b9.1730925790.git.goodoldpaul@autistici.org> 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: 75B7F83E56 X-TUID: lcPDWegolJy9 * gnu/packages/crates-io.scm (rust-tokio-vsock-0.4): New variable; (rust-tokio-vsock-0.3): inherit from rust-tokio-vsock-0.4. Change-Id: I33f0e923075b72e818f89058bf07c61d8be829a3 --- gnu/packages/crates-io.scm | 38 +++++++++++++++++++++++++++++++------- 1 file changed, 31 insertions(+), 7 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 1233a0d9b4..bec4e4d5e5 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -86151,8 +86151,38 @@ (define-public rust-tokio-util-0.2 ("rust-tokio" ,rust-tokio-0.2) ("rust-tokio-test" ,rust-tokio-test-0.2)))))) +(define-public rust-tokio-vsock-0.4 + (package + (name "rust-tokio-vsock") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "tokio-vsock" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1p88jaypkjicj5rfkj7hmx1jcs2v7cbgyzil084zk4dwn4amr8aj")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs (("rust-bytes" ,rust-bytes-1) + ("rust-futures" ,rust-futures-0.3) + ("rust-libc" ,rust-libc-0.2) + ("rust-tokio" ,rust-tokio-1) + ("rust-tonic" ,rust-tonic-0.8) + ("rust-vsock" ,rust-vsock-0.3)) + #:cargo-development-inputs (("rust-rand" ,rust-rand-0.8) + ("rust-sha2" ,rust-sha2-0.9) + ("rust-tokio" ,rust-tokio-1)))) + (home-page "https://github.com/rust-vsock/tokio-vsock") + (synopsis "Asynchronous Virtio socket support for Rust") + (description + "This package provides asynchronous Virtio socket support for Rust.") + (license license:asl2.0))) + (define-public rust-tokio-vsock-0.3 (package + (inherit rust-tokio-vsock-0.4) (name "rust-tokio-vsock") (version "0.3.4") (source (origin @@ -86162,7 +86192,6 @@ (define-public rust-tokio-vsock-0.3 (sha256 (base32 "1g1fhsibfdgsqayjr9gxkd5npgxh8rj36pcb9pi1c7ci51l5acwv")))) - (build-system cargo-build-system) (arguments `(#:cargo-test-flags '("--release" "--" "--skip=test_vsock_server") @@ -86176,12 +86205,7 @@ (define-public rust-tokio-vsock-0.3 #:cargo-development-inputs (("rust-rand" ,rust-rand-0.8) ("rust-sha2" ,rust-sha2-0.9) - ("rust-tokio" ,rust-tokio-1)))) - (home-page "https://github.com/rust-vsock/tokio-vsock") - (synopsis "Asynchronous Virtio socket support for Rust") - (description - "This package provides asynchronous Virtio socket support for Rust.") - (license license:asl2.0))) + ("rust-tokio" ,rust-tokio-1)))))) (define-public rust-toml-0.8 (package -- 2.46.0