From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id UDpTMUHVK2f9ggEA62LTzQ:P1 (envelope-from ) for ; Wed, 06 Nov 2024 20:44:49 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id UDpTMUHVK2f9ggEA62LTzQ (envelope-from ) for ; Wed, 06 Nov 2024 21:44:49 +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=rnni7nuu; dkim=fail ("headers rsa verify failed") header.d=autistici.org header.s=stigmate header.b=VHpN1+D1; dmarc=pass (policy=none) header.from=gnu.org; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1730925889; a=rsa-sha256; cv=none; b=Zi0/6Ry9O2Tbj3wsLcO8jbRXgXw9CUu9YypJzGUhjNBux+0bI8IeVOe/gwJrU4rrnZCM7B rVH2n5H+anLNJKNi8kPUWWsa8YXaqCNK+AK1Wct7G3epvHmMZ8xLA4CCa1zyu/874aQLl8 LgU3TSLJdU7vq+QfxdxbgeZDXzY1fWV/U/t8UIDwtc9H8IVM6JGwrCjf/hks6pxMv5GSLj v/k6XAwj/CPt0RxdbxCHmNgWC4qIkxH7kDttINSmfsMaDuZ2bBisBQjS0Z2QQhIGx2uUrB fbmOTnxBvNUvaYi8r1mPvZb3B00hfHtKwmdkLzTD8jCtDiIm7maP4z7AIASzlQ== 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=rnni7nuu; dkim=fail ("headers rsa verify failed") header.d=autistici.org header.s=stigmate header.b=VHpN1+D1; dmarc=pass (policy=none) header.from=gnu.org; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1730925889; 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=y8CRl2aq3UDzywCFPFhnBaYvu3Hrw82+fVAWLULu0iY=; b=dmKcbUkoZf3JTXnXeTyRt8SGqZNLjeAN9vRJS+m6+yEF1xP9cDVMNLHvlUtqTTelyJDuIV pqTeXgYNml1pNDQtiupHelPj94eQkBOoKVT9MoAdZ6/U8trK4BgdTtMJwlxmEUfsejyidU z3mCoSyBTXcSq20wE/26Nx+/RoPNvu+xVd2U9ZEmvC2zwd15Wgc2jQlchN80Ne+Lkqj1ga lGfgMh7xyqxwRSK6vDd76Lf849YjXm1b3MVxEodgXFCovpgdd93jhdoEj1+A3MUn30dLN7 8f36ITyp+Q1j/RADwxp1WtNSHTp8FgGRolZbNOPw1OC80xBSjqq9qoQT/KQLRg== 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 B43F165203 for ; Wed, 06 Nov 2024 21:44:49 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t8mtC-0001dX-JG; Wed, 06 Nov 2024 15:44:30 -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 1t8msq-0001Lp-8H for guix-patches@gnu.org; Wed, 06 Nov 2024 15:44:09 -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 1t8msp-0001JG-WB for guix-patches@gnu.org; Wed, 06 Nov 2024 15:44:08 -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=y8CRl2aq3UDzywCFPFhnBaYvu3Hrw82+fVAWLULu0iY=; b=rnni7nuuZXcP5AlD5vpKPmjIK0vRs5zE0sKk4l3J7AjBn+XNKZTaGlU1yME6jmrk/W+YmjcuQreb+KAO4layN6fDecPg3eS19DeHhzN0nsW7j1MIa9QP+CznVp0yNrOv2TzVcdGEQ5F7BE7RKqE9qit7YEi9Aegcqkf3bboR0M+eH6Ev7Bl9FF8UbRVkB2Kha89wSpayCbY/DZD0Nt2nRjhyqE9gfl++bX+Y2edl8IzGb1rzwnYDS/+TrqO+CiTQ/vIijJ8JyL2K05lv4yxs+IxfRtcT35URk9PjaYxOGpSFwuEi4ifNYmAtQ9vHwSEPx74vkQdIifda2z9VLF+5Kg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t8msp-0003VV-QT; Wed, 06 Nov 2024 15:44:07 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74232] [PATCH rust-team 11/25] gnu: Add rust-vsock-0.5. 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:07 +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.173092582513220 (code B ref 74232); Wed, 06 Nov 2024 20:44:07 +0000 Received: (at 74232) by debbugs.gnu.org; 6 Nov 2024 20:43:45 +0000 Received: from localhost ([127.0.0.1]:45806 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t8msT-0003R4-9s for submit@debbugs.gnu.org; Wed, 06 Nov 2024 15:43:45 -0500 Received: from confino.investici.org ([93.190.126.19]:52223) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t8msO-0003Ow-3W for 74232@debbugs.gnu.org; Wed, 06 Nov 2024 15:43:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1730925819; bh=y8CRl2aq3UDzywCFPFhnBaYvu3Hrw82+fVAWLULu0iY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=VHpN1+D1wv4KLnmw6Sd44hXY86fJ+R6fugRjbd1nm3MTaWqOIBCJB4BNgfNQZfmwL b8IEh0vAd3S7AzQuFnHMevMvJvvLoT41CjrHQiDLRnvjFWskVIlS36H6nOKwyHWmjW 30sRWw3t89CP1f6PU23pEjFUY/5vLqxumpZuwDsA= Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4XkHGz6jv6z10vV; Wed, 6 Nov 2024 20:43:39 +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 4XkHGz24ssz10t7; Wed, 6 Nov 2024 20:43:39 +0000 (UTC) Date: Wed, 6 Nov 2024 21:42:57 +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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: 1.06 X-Spam-Score: 1.06 X-Migadu-Queue-Id: B43F165203 X-Migadu-Scanner: mx12.migadu.com X-TUID: +hy9J8pRUg3Q * gnu/packages/crates-io.scm (rust-vsock-0.5): New variable; (rust-vsock-0.3): inherit from rust-vsock-0.5. Change-Id: I34faed16396ef65e3b90a1d08519154feeb61b07 --- gnu/packages/crates-io.scm | 32 ++++++++++++++++++++++++++------ 1 file changed, 26 insertions(+), 6 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index bec4e4d5e5..80f9f7f8cb 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -91430,8 +91430,33 @@ (define-public rust-void-1 "The uninhabited void type for use in statically impossible cases.") (license license:expat))) +(define-public rust-vsock-0.5 + (package + (name "rust-vsock") + (version "0.5.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "vsock" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1276xvg0jadqvxw26m2018fbsi8lvgx3i5x0hvy4gwbjwq04v2sf")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Tests not runnable from the build environment. + #:cargo-inputs (("rust-libc" ,rust-libc-0.2) + ("rust-nix" ,rust-nix-0.29)) + #:cargo-development-inputs + (("rust-rand" ,rust-rand-0.8) + ("rust-sha2" ,rust-sha2-0.10)))) + (home-page "https://github.com/rust-vsock/vsock-rs") + (synopsis "Virtio socket support for Rust") + (description "This package provdies virtio socket support for Rust.") + (license license:asl2.0))) + (define-public rust-vsock-0.3 (package + (inherit rust-vsock-0.5) (name "rust-vsock") (version "0.3.0") (source (origin @@ -91441,7 +91466,6 @@ (define-public rust-vsock-0.3 (sha256 (base32 "0mwwcjk2yd3fi5ryv5xhd7569bmcj0dlsmi4bh4jh6qypzq1v3jc")))) - (build-system cargo-build-system) (arguments `(#:tests? #f ; Tests not runnable from the build environment. #:cargo-inputs @@ -91449,11 +91473,7 @@ (define-public rust-vsock-0.3 ("rust-nix" ,rust-nix-0.24)) #:cargo-development-inputs (("rust-rand" ,rust-rand-0.8) - ("rust-sha2" ,rust-sha2-0.10)))) - (home-page "https://github.com/rust-vsock/vsock-rs") - (synopsis "Virtio socket support for Rust") - (description "This package provdies virtio socket support for Rust.") - (license license:asl2.0))) + ("rust-sha2" ,rust-sha2-0.10)))))) (define-public rust-vsock-0.2 (package -- 2.46.0