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 ms1.migadu.com with LMTPS id KH1gLO6oMmZYzQAA62LTzQ:P1 (envelope-from ) for ; Wed, 01 May 2024 22:41:18 +0200 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 KH1gLO6oMmZYzQAA62LTzQ (envelope-from ) for ; Wed, 01 May 2024 22:41:18 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=autistici.org header.s=stigmate header.b=QvV9uycc; 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=1714596078; 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=RsSe8Ls6wh+Ttt4+EKvxe8r3UVj6i8Yz5rPj3mGbK4k=; b=mbA8BExeblOvTwCb9OYdl86M7U+ROEfur/cF1nWPUBS78EQQKUKx+l8wY2O8SAzV1/B396 hfrdCepwg/lipvUneoSgCaOB/TjssA+jdvU06gkQ6JYAEIN5cURMakReFjfc9GmePMAP9t MCoBhfW/6E7MblQyQyTzEjt30DwTamXlsMtTrKDXvQc+77b9lfuuH730hajipGCsHfXaIk AKF+jb5tJuKHyO3r/fSVt15hmvaKMhgdbSECsojqilmwYgDTXm1WDaexJaxaaBN3FNmCCL iQnlIaoFR4JlyTmegeAHTlNtrhLvh+7yvGtT7LvCpyI1SRG5bbCNu0zW5T8k6g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=autistici.org header.s=stigmate header.b=QvV9uycc; 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=1714596078; a=rsa-sha256; cv=none; b=PwuPsFJcqEs9jw63Ja7d3pT7urowtlupZXH5NEruJ+MNCHjSkCrwGOc0QpvMN1gr7+IgbU JzICaSgZtxBE+yOtKhKamf+czLwKps9Vm4C846b96fbaWl4jo38zY1NcUgugnLqXeqOaJ1 sQ1Xr71mhzuMn+b0dWrliLc41LaLUBRHpO4izjFWyo/VdmOEYiA1DfDPjHVT1+MUO+0Pr9 EhXdL3idSH/3QlAXMa81F9uuN1Aac+VR7588gyUsuTGtMKE4NWNioeRv0iZF2xT785Txlt AWARAzafxkJgvttQ8DIi5RZKJSxquX2xDq67N9dDKkB+CtnSegAtA/D5DD+Zfw== 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 980DA52467 for ; Wed, 1 May 2024 22:41:18 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s2Gl8-00006o-PY; Wed, 01 May 2024 16:41: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 1s2Gks-0008Qo-Hu for guix-patches@gnu.org; Wed, 01 May 2024 16:40:46 -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 1s2Gkr-0000De-6T for guix-patches@gnu.org; Wed, 01 May 2024 16:40:42 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s2GlC-0006GB-He; Wed, 01 May 2024 16:41:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70705] [PATCH 2/3] gnu: Add rust-udev-0.8. Resent-From: Giacomo Leidi Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Wed, 01 May 2024 20:41: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.171459604424033 (code B ref 70705); Wed, 01 May 2024 20:41:02 +0000 Received: (at 70705) by debbugs.gnu.org; 1 May 2024 20:40:44 +0000 Received: from localhost ([127.0.0.1]:39324 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s2Gku-0006FU-8v for submit@debbugs.gnu.org; Wed, 01 May 2024 16:40:44 -0400 Received: from confino.investici.org ([93.190.126.19]:60897) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s2Gkr-0006F9-UW for 70705@debbugs.gnu.org; Wed, 01 May 2024 16:40:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1714596019; bh=RsSe8Ls6wh+Ttt4+EKvxe8r3UVj6i8Yz5rPj3mGbK4k=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=QvV9uyccSbjJyhcxEW0FCS21AKXFAGEA5UUOO46hJrR/QmuMWQ/jF3pFkO/Lu968Y 4mhzNxXz6OPT8z6oySIVgYSqump+xRLQADdJeNx3PYPKdkbuwRHjeQFnE0He40AwLl fL0w97FN++cwvhlj6xgvddaZKGfrYUCKc8z7Elno= Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4VV88M1GLxz11MB; Wed, 1 May 2024 20:40:19 +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 4VV88M03xTz117c; Wed, 1 May 2024 20:40:18 +0000 (UTC) Date: Wed, 1 May 2024 22:39:39 +0200 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: References: 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: -6.49 X-Spam-Score: -6.49 X-Migadu-Queue-Id: 980DA52467 X-Migadu-Scanner: mx13.migadu.com X-TUID: Fny8oI7Ued3g * gnu/packages/crates-io.scm (rust-udev-0.8): New variable. Change-Id: I77687eadda6348d589970aef8e45a986b8651166 --- gnu/packages/crates-io.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 8352fb56c5..56ecb967cb 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -74670,6 +74670,38 @@ (define-public rust-ucd-util-0.1 (license (list license:asl2.0 license:expat)))) +(define-public rust-udev-0.8 + (package + (name "rust-udev") + (version "0.8.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "udev" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "18f5vkhjcljw1p5gfvy61p1837n27d7h2l3x45pywa5y49p1q1ah")))) + (build-system cargo-build-system) + (native-inputs + (list pkg-config)) + (inputs + (list eudev)) + (arguments + `(#: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.8) + ("rust-pkg-config" ,rust-pkg-config-0.3)))) + (home-page "https://github.com/Smithay/udev-rs") + (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.1 (package (name "rust-ufmt") -- 2.41.0