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 qD0pD/uKFWepBgAAe85BDQ:P1 (envelope-from ) for ; Sun, 20 Oct 2024 22:58:03 +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 qD0pD/uKFWepBgAAe85BDQ (envelope-from ) for ; Mon, 21 Oct 2024 00:58:03 +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=GRqaXKXU; dkim=fail ("headers rsa verify failed") header.d=autistici.org header.s=stigmate header.b="Zm/ykkOL"; 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=1729465083; 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=jNJFwV+7S5+V0KGyarBpkM1s7JzlpYyAZHTYsCDrndg=; b=gqz8kT6vom20gSKMDhZ02Vk5E4RGc8GG50APr9KG23cTJzx4ZUYqWHZ9lD6LPxRl0paNvf z1VoxUKcWNJD0B9G08M0YxbnDegWK7nDlHy9cHcxfI7rCBPiJUdQUiyYiUkoiyht32BNy2 m2qFjhnQSzAwuA/eCqTvF1DpPIGjC8rzZe78Kvm8i5uCkh/M5y5bJKQj5MhrcjE32hFLvG hmtGSKuJGXtnTCX6gGmA3LGpEn0u6gZnOQvywbkiLJh1ZEfbCetNpkLZjYnaelT7W52gB1 b2dJqVXR6QR5yjENq8hy3BN09KvAxHiCYgq9WiYBU3y2SGOp640nntcqAadmvQ== 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=GRqaXKXU; dkim=fail ("headers rsa verify failed") header.d=autistici.org header.s=stigmate header.b="Zm/ykkOL"; 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=1729465083; a=rsa-sha256; cv=none; b=CMaK/1o0k/0Jo5De6UgVm+DUoG8FGpA/rWbK8ipgUQvNFCNwAdLpuSY3qi/oD7gjMqfQ5R qCpBAVr5OXXAACiP+eFf3ld7i3CTuQ8w9nYq16kAOQbgIGviVFpuwss13q1uKri7kIsH5s bwQExBjFD2XRMcmJ6NtINwVr9f4EonkTMdjbOTkc/eQWHl/L9K/C+zqqxzfh2uKvSJOuJ/ 32fZgQ5JOUQBlvhacMg2B/yKZjIwIq9rTta3R2HbcXPDjoCdA9Q5JX7X9AFVrZUK3gx/W/ xpCA0bN4FZMslGovixkuchTk1wp4IOAcEBuGRap0kvRSmfvSchEuj4uViGXdsg== 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 1E2798AE84 for ; Mon, 21 Oct 2024 00:58:02 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t2erk-00038l-5G; Sun, 20 Oct 2024 18:57:40 -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 1t2eri-00037z-Gv for guix-patches@gnu.org; Sun, 20 Oct 2024 18:57:38 -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 1t2eri-0002Ap-7z for guix-patches@gnu.org; Sun, 20 Oct 2024 18:57:38 -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=jNJFwV+7S5+V0KGyarBpkM1s7JzlpYyAZHTYsCDrndg=; b=GRqaXKXUlB51GmVc8iZhsQKF6p9pKfCDoP8YQs3T86Hsm3XVfQgbOmUEpZZRJOadrQwzBATpjvJZE7sHmQUnNsd//uMLuHHhSDMG4oaBoSmIAecWAvGYouHDJARFdbRhOwMXyIEfidXuG7ChgGqXDZ0E7CBu4AqhjmMu8wK0nd0v27fwkOAY3GKmGlumLNQc2UbOS7oaEN6cPAorI5rruxoqjGi10b+L1aYgjRbfnC48h79jS+pNMP/6jc9M1SSEuPtrVk9iOdFPjD9I5d4RXM8ft3awLtaajWFY4MGT4BTtIQIUsio0y5saNNL9qcH2swYJ4s+1l0Q2yOkWtOyEEg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t2es7-0002Gd-Sw; Sun, 20 Oct 2024 18:58:03 -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: Sun, 20 Oct 2024 22:58:03 +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.17294650498646 (code B ref 70705); Sun, 20 Oct 2024 22:58:03 +0000 Received: (at 70705) by debbugs.gnu.org; 20 Oct 2024 22:57:29 +0000 Received: from localhost ([127.0.0.1]:49257 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t2erY-0002FO-S1 for submit@debbugs.gnu.org; Sun, 20 Oct 2024 18:57:29 -0400 Received: from confino.investici.org ([93.190.126.19]:41539) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t2erW-0002FB-Fi for 70705@debbugs.gnu.org; Sun, 20 Oct 2024 18:57:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1729465013; bh=jNJFwV+7S5+V0KGyarBpkM1s7JzlpYyAZHTYsCDrndg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Zm/ykkOLip3/J00ia2DEsoLzH6lCDc51ycZk+A3P87biFFwWD0Tl5beikYXkASJ+C o7CZbW6IhQBNWPJq3p6FbyF916Yylyw83eQpsMDv7t8bZbxxrOpGQOpB9iAe3Tzo+g 3ZflRK7GqnUT/hkS9XZmDSVAdaEAkxBjHHT27ILE= Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4XWv2Y0GMDz10yG; Sun, 20 Oct 2024 22:56:53 +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 4XWv2X6cTrz10y2; Sun, 20 Oct 2024 22:56:52 +0000 (UTC) Date: Mon, 21 Oct 2024 00:56:42 +0200 Message-ID: X-Mailer: git-send-email 2.46.0 In-Reply-To: <1337378d461f2489eae608e2366132db07842627.1729465003.git.goodoldpaul@autistici.org> References: <1337378d461f2489eae608e2366132db07842627.1729465003.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.50 X-Spam-Score: 0.50 X-Migadu-Queue-Id: 1E2798AE84 X-TUID: iWkF3Ap+tPwa * 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 e97f3c6a89..8bbed8a5a8 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -85879,28 +85879,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.46.0