From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id cFWUMpfK2GZlGgAA62LTzQ:P1 (envelope-from ) for ; Wed, 04 Sep 2024 21:01:12 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id cFWUMpfK2GZlGgAA62LTzQ (envelope-from ) for ; Wed, 04 Sep 2024 23:01:11 +0200 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=Qwdg51OG; dkim=fail ("headers rsa verify failed") header.d=autistici.org header.s=stigmate header.b=S8AZVRs3; 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=1725483671; 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=TISOuwUNosCP924ESH1G05qCwEi/qodawxWrQjnG2ps=; b=pqAG1QAgdSCae50LaYg4YrrITnxdZmN+ABaQxEBJqvOCH9JoQJT56K7sOPRC/6d8XIM5n0 D9EA8apUpjpHhaJpv4cMN2vKLLlWn4KaRuUD7tXE23MWnAsn6Cky32hxdD7FFqDjhpxR2z PB5jhZmD3S6hbZRshr5zSvFwlf5enmUF4Gk9Vrn1x1zXEwvuk6wV9XHmtjH5+5z41SLiD+ 7JALfujo3KaVSVFKfruUsGisXQt9DLkq5ESk+ifkP+T9quOeC/qJf2PlTk5W3WGsefR6gB I44uVIp4wlK78enUqJEYdE2VU4UQAT6NUch848sx4bmoTtRmpemi0zd/gbiLRQ== 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=Qwdg51OG; dkim=fail ("headers rsa verify failed") header.d=autistici.org header.s=stigmate header.b=S8AZVRs3; 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=1725483671; a=rsa-sha256; cv=none; b=DvKCQcx9Om8/MRjnE9gmkn12MBRGZIYtU+BlHKbKag9oCgGC6rfg/cON2LIx9XkcR5msSZ VrbY57VeSxhUj3jvyqnGDkLZ+NV4Z1jN9MTEfaqQCsUmNdxdoK7NcYu+eLyLwfEB0nmO74 fKrQfDgc4LXS4OuhAQKVqx4qRzTLUv2UPlQ82uh6kdSVfoaCTlnFuznv0EcXaMZ+WYy/rA Sdr29GOvICi7gsaKA4VuJXDLsVIQJUbQ7g63Wa2nkVrVVC09ixZH+A+mlAyf/skh+gJ2I4 EZ7ghK+UBYgzpoRrpHCa7aV6I6nnesrUr9FNLZCxEImD571wWzQaVXJvu6yuog== 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 AD5DC3F139 for ; Wed, 4 Sep 2024 23:01:11 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1slx7c-0001EQ-Rh; Wed, 04 Sep 2024 17:01:00 -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 1slx7a-0001De-QQ for guix-patches@gnu.org; Wed, 04 Sep 2024 17:00:58 -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 1slx7a-0001Yy-HI for guix-patches@gnu.org; Wed, 04 Sep 2024 17:00:58 -0400 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=TISOuwUNosCP924ESH1G05qCwEi/qodawxWrQjnG2ps=; b=Qwdg51OGVdfEA8wJN+Myu/zpWM4WO5UwiyPwQxjW/Z1IOHaJSK7D4B70Yo/0aXpSkx5iFIzLtk0wgZAMTiPaik3f31mrji+DDUOSV+MyPDeGvEvZdladR5vv06G8gbK6frhMO8RnaILWdP/TbcRFhX8ykmVrzXn9yIvyNCXJXxoRjrzo+5ESPJWi6TIXDijyV0KGcVdbr7y4aekA4nJF8GURGS0G3VKDoOEx6j37QcpJCbPrDMEcx9g3AxZttkMuU7luKzKaUZR7In5Q++B/yeoHBJ8UjfpfkuUKpglmgXR9+BRde66EAj3otxB2AFAZGEoA4BTwJcb8pbfQXfXWhw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1slx8c-00076w-IE; Wed, 04 Sep 2024 17:02:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70705] [PATCH v2 2/3] gnu: rust-udev: Update to 0.8. Resent-From: Giacomo Leidi Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Wed, 04 Sep 2024 21:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70705 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 70705@debbugs.gnu.org Cc: Giacomo Leidi , Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 70705-submit@debbugs.gnu.org id=B70705.172548367527249 (code B ref 70705); Wed, 04 Sep 2024 21:02:02 +0000 Received: (at 70705) by debbugs.gnu.org; 4 Sep 2024 21:01:15 +0000 Received: from localhost ([127.0.0.1]:35538 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1slx7r-00075Q-6b for submit@debbugs.gnu.org; Wed, 04 Sep 2024 17:01:15 -0400 Received: from confino.investici.org ([93.190.126.19]:56693) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1slx7p-00073k-1L for 70705@debbugs.gnu.org; Wed, 04 Sep 2024 17:01:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1725483601; bh=TISOuwUNosCP924ESH1G05qCwEi/qodawxWrQjnG2ps=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=S8AZVRs3SQUnP06y6nq301pyJWP3mAAUz5hMVSnvKRSs6gQMGGzGOUxNhZcvFfRXp 0KkDFVPLnIIn8eZ10rKFNgFvq+W6NM+6Sj/IUBv3SqSIiJm4mvPOjVYXSBAp06WoAJ 0Q2YiG7lq3xAI+J8imqa53UFs8YE/+j1O5yC4jnM= Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4WzZcx11ksz117h; Wed, 4 Sep 2024 21:00:01 +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 4WzZcx0FDmz115w; Wed, 4 Sep 2024 21:00:01 +0000 (UTC) Date: Wed, 4 Sep 2024 22:59:47 +0200 Message-ID: X-Mailer: git-send-email 2.45.2 In-Reply-To: <3341545202da586792b086d4c614618b70d06385.1725483588.git.goodoldpaul@autistici.org> References: <3341545202da586792b086d4c614618b70d06385.1725483588.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-Queue-Id: AD5DC3F139 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -6.58 X-Spam-Score: -6.58 X-TUID: LkWH2DA0j3kY * gnu/packages/crates-io.scm (rust-udev-0.7): Rename to rust-udev-0.8; [native-inputs]: add pkg-config; [inputs]: add eudev; [arguments]: disable tests as they are supposed to run on a real machine and not in the Guix build sandbox; : add rust-io-lifetimes and rust-libc; [description]: expand description to match Guix project standards; [synopsis]: ditto. Change-Id: I77687eadda6348d589970aef8e45a986b8651166 --- gnu/packages/crates-io.scm | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index d04e4a11c4..37b50d3b69 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -85865,28 +85865,38 @@ (define-public rust-ucd-util-0.1 (license (list license:asl2.0 license:expat)))) -(define-public rust-udev-0.7 +(define-public rust-udev-0.8 (package (name "rust-udev") - (version "0.7.0") + (version "0.8.0") (source (origin (method url-fetch) (uri (crate-uri "udev" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "06hr927z0fdn7ay0p817b9x19i5fagmpmvz95yhl4d1pf3bbpgaf")))) + (base32 "18f5vkhjcljw1p5gfvy61p1837n27d7h2l3x45pywa5y49p1q1ah")))) (build-system cargo-build-system) + (native-inputs + (list pkg-config)) + (inputs + (list eudev)) (arguments - `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2) + `(#:tests? #f ;tests are supposed to be run on real hardware + #:cargo-inputs (("rust-io-lifetimes" ,rust-io-lifetimes-1) + ("rust-libc" ,rust-libc-0.2) ("rust-libudev-sys" ,rust-libudev-sys-0.1) ("rust-mio" ,rust-mio-0.6) ("rust-mio" ,rust-mio-0.7) ("rust-mio" ,rust-mio-0.8) ("rust-pkg-config" ,rust-pkg-config-0.3)))) (home-page "https://github.com/Smithay/udev-rs") - (synopsis "libudev bindings for Rust") - (description "This package provides libudev bindings for Rust.") + (synopsis "Safe @code{libudev} bindings for Rust") + (description "This crate provides a safe wrapper around the native +@code{libudev} library. It applies the RAII pattern and Rust lifetimes to +ensure safe usage of all @code{libudev} functionality. The RAII pattern ensures +that all acquired resources are released when they're no longer needed, and Rust +lifetimes ensure that resources are released in a proper order.") (license license:expat))) (define-public rust-ufmt-0.2 -- 2.45.2