From unknown Sat Jun 21 10:42:28 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#70705 <70705@debbugs.gnu.org> To: bug#70705 <70705@debbugs.gnu.org> Subject: Status: Add rust-hidapi Reply-To: bug#70705 <70705@debbugs.gnu.org> Date: Sat, 21 Jun 2025 17:42:28 +0000 retitle 70705 Add rust-hidapi reassign 70705 guix-patches submitter 70705 paul severity 70705 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Wed May 01 16:35:58 2024 Received: (at submit) by debbugs.gnu.org; 1 May 2024 20:35:58 +0000 Received: from localhost ([127.0.0.1]:39296 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s2GgH-0006C0-W9 for submit@debbugs.gnu.org; Wed, 01 May 2024 16:35:58 -0400 Received: from lists.gnu.org ([2001:470:142::17]:38732) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s2GgF-0006Bu-MC for submit@debbugs.gnu.org; Wed, 01 May 2024 16:35:56 -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 1s2Gfl-0007e1-Tn for guix-patches@gnu.org; Wed, 01 May 2024 16:35:26 -0400 Received: from confino.investici.org ([93.190.126.19]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s2Gfi-0007tF-Q7 for guix-patches@gnu.org; Wed, 01 May 2024 16:35:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1714595719; bh=rmocCa3rVtCP5jo7CvVK5A/Nbs9FN6PGzaZE7TekiB4=; h=Date:To:From:Subject:From; b=ZIL1jh/KV8hhkuXsunXlA8vDpBYZBxP7TDzKBoNydhm56z/lMfQD0pmL+5df2hNaB 0h0gitCaTtnvWhhkHDpuxndw1+Vt6dpNX7+958c1XJzfslQa6Y8+hUxtRz0+z/XoHW 50lau+8DKzmJ1QcPwM99UQlrjUh3m6gQWj6CGCw8= Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4VV82b5bTnz11MB for ; Wed, 1 May 2024 20:35: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 4VV82b56r5z11KZ for ; Wed, 1 May 2024 20:35:19 +0000 (UTC) Message-ID: Date: Wed, 1 May 2024 22:35:19 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.0 To: guix-patches@gnu.org Content-Language: en-US From: paul Subject: Add rust-hidapi Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=93.190.126.19; envelope-from=goodoldpaul@autistici.org; helo=confino.investici.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) Hello Guix, I'm sending a couple of patches adding rust-hidapi Thank you for your work, giacomo From debbugs-submit-bounces@debbugs.gnu.org Wed May 01 16:40:44 2024 Received: (at 70705) by debbugs.gnu.org; 1 May 2024 20:40:44 +0000 Received: from localhost ([127.0.0.1]:39322 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s2Gkt-0006FS-TT for submit@debbugs.gnu.org; Wed, 01 May 2024 16:40:44 -0400 Received: from confino.investici.org ([2a11:7980:1::2:0]:56701) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s2Gks-0006FA-BC 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=3WwJIZ05zxGdHPiPUgm3NHS/IaIJO1d9FWuCSFq25lo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=b/tA7M3aUQYRWgdscOVPRBpXL6MXIvynQkPkn2om2TxkuIDRxGriLcg/qtOF2X9pK YRioiuBVTbv5dAxjg3MefJjyk6IVIhi6/LPHDILs7eUN4TQLvyCD24lUzDBbkzScP/ psmkjJUl4rIeZX2WkxLBpPkuASJyaTJRhQr/b1s8= Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4VV88M455mz11MF; 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 4VV88M31gZz117c; Wed, 1 May 2024 20:40:19 +0000 (UTC) From: Giacomo Leidi To: 70705@debbugs.gnu.org Subject: [PATCH 3/3] gnu: Add rust-hidapi-2. Date: Wed, 1 May 2024 22:39:40 +0200 Message-ID: <9997e2566a91b9e685cb631570f825ac500221f0.1714595980.git.goodoldpaul@autistici.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 X-Debbugs-Cc: Efraim Flashner Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 70705 Cc: Giacomo Leidi X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) * gnu/packages/crates-io.scm (rust-hidapi-2): New variable. Change-Id: I3a8bb6e7d6e555fba8df036053b146d414b14198 --- gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 56ecb967cb..7ac1c8f2da 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -28737,6 +28737,36 @@ (define-public rust-hexf-parse-0.2 provided for each type.") (license license:cc0))) +(define-public rust-hidapi-2 + (package + (name "rust-hidapi") + (version "2.6.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "hidapi" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0g62241lsd88blvmnwl4mwa556dljazc3g2ymq6zx27y4082an4y")))) + (build-system cargo-build-system) + (native-inputs + (list pkg-config)) + (inputs + (list eudev hidapi)) + (arguments + `(#:cargo-inputs (("rust-cc" ,rust-cc-1) + ("rust-cfg-if" ,rust-cfg-if-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-nix" ,rust-nix-0.27) + ("rust-pkg-config" ,rust-pkg-config-0.3) + ("rust-udev" ,rust-udev-0.8) + ("rust-windows-sys" ,rust-windows-sys-0.48)))) + (home-page "https://github.com/ruabmbua/hidapi-rs") + (synopsis "Rust-y wrapper around @code{hidapi}") + (description "This crate provides a Rust abstraction over the features of +the C library @code{hidapi}. Based off of @code{hidapi-rs} by Osspial.") + (license license:expat))) + (define-public rust-hostname-0.3 (package (name "rust-hostname") -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Wed May 01 16:40:44 2024 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) From: Giacomo Leidi To: 70705@debbugs.gnu.org Subject: [PATCH 2/3] gnu: Add rust-udev-0.8. 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 X-Debbugs-Cc: Efraim Flashner Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 70705 Cc: Giacomo Leidi X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) * 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 From debbugs-submit-bounces@debbugs.gnu.org Wed May 01 16:40:45 2024 Received: (at 70705) by debbugs.gnu.org; 1 May 2024 20:40:45 +0000 Received: from localhost ([127.0.0.1]:39326 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s2Gku-0006Ff-NT for submit@debbugs.gnu.org; Wed, 01 May 2024 16:40:45 -0400 Received: from confino.investici.org ([2a11:7980:1::2:0]:56993) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s2Gks-0006F8-Oe for 70705@debbugs.gnu.org; Wed, 01 May 2024 16:40:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1714596018; bh=spLOpQCtHxbzuO6zxwMbeY9n78wHVjEoSBS4wm1BmAE=; h=From:To:Cc:Subject:Date:From; b=fUV0odyrb2iIC0UrlmvoONUSSBwcbfMTRJFJ8p3IQFEFATYMqLO3UyiYDsJOhLEK9 dCd79X5MNGXala99bx0ewS9T290a8SiBY/BHQN1Ulbbi7fTz+yjUIUK/YIDpz97nJ8 2k27LDLPMrAYE560WuqkUvdzwtipc/0zSHTc65Gg= Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4VV88L5TFSz11M9; Wed, 1 May 2024 20:40:18 +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 4VV88L4cL7z117c; Wed, 1 May 2024 20:40:18 +0000 (UTC) From: Giacomo Leidi To: 70705@debbugs.gnu.org Subject: [PATCH 1/3] gnu: Add rust-libudev-sys-0.1. Date: Wed, 1 May 2024 22:39:38 +0200 Message-ID: X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 X-Debbugs-Cc: Efraim Flashner Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 70705 Cc: Giacomo Leidi X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) * gnu/packages/crates-io.scm (rust-libudev-sys-0.1): New variable. Change-Id: I278a561e7dd8c10bf813b5ac4fded7fe74d391cc --- gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index a67d3d74bb..8352fb56c5 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -34659,6 +34659,30 @@ (define-public rust-libsqlite3-sys-0.20 ("rust-pkg-config" ,rust-pkg-config-0.3) ("rust-vcpkg" ,rust-vcpkg-0.2)))))) +(define-public rust-libudev-sys-0.1 + (package + (name "rust-libudev-sys") + (version "0.1.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "libudev-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "09236fdzlx9l0dlrsc6xx21v5x8flpfm3d5rjq9jr5ivlas6k11w")))) + (build-system cargo-build-system) + (native-inputs + (list pkg-config)) + (inputs + (list eudev)) + (arguments + `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2) + ("rust-pkg-config" ,rust-pkg-config-0.3)))) + (home-page "https://github.com/dcuddeback/libudev-sys") + (synopsis "FFI bindings to @code{libudev}") + (description "This package provides FFI bindings to @code{libudev}.") + (license license:expat))) + (define-public rust-libxml-0.3 (package (name "rust-libxml") base-commit: 7d4ae2fca723114fb1df56de33b82177fbc4d0a6 -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 04 13:32:51 2024 Received: (at 70705) by debbugs.gnu.org; 4 Sep 2024 17:32:51 +0000 Received: from localhost ([127.0.0.1]:35323 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sltsA-0000Aw-Ru for submit@debbugs.gnu.org; Wed, 04 Sep 2024 13:32:51 -0400 Received: from confino.investici.org ([93.190.126.19]:48305) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1slts8-0000Al-Cq for 70705@debbugs.gnu.org; Wed, 04 Sep 2024 13:32:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1725471102; bh=TViS6e2xykJd1ICBSb94JLsMOOfnuIuyI8kwhFHRXWA=; h=Date:To:From:Subject:From; b=XbUJ6Yg3EXVCThThQjgkewOM51hSveHHca8cNSHhQkrC1yiace10Mgu8szJkxps99 y9AIUgoBoVnLuo7GcnoAhR0WnU4coldm2QRGDVLQHw2IlCYCNQFpz6jVx+9IPpoC1B HtZ11RhN1VyexuW8uf1dMjQ9B1RFtfOauOPd37Js= Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4WzV0Z7381z112k for <70705@debbugs.gnu.org>; Wed, 4 Sep 2024 17:31:42 +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 4WzV0Z6fClz112F for <70705@debbugs.gnu.org>; Wed, 4 Sep 2024 17:31:42 +0000 (UTC) Message-ID: <15a0a1db-c7d1-e68c-559d-50b3d3aab985@autistici.org> Date: Wed, 4 Sep 2024 19:31:42 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.0 Content-Language: en-US To: 70705@debbugs.gnu.org From: paul Subject: Re: Add rust-hidapi Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 1.8 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Dear Guix, this is a friendly ping :) I'm sending an updated patchset based on current master. Thank you for your work, Content analysis details: (1.8 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [93.190.126.19 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 2.5 FAKE_REPLY_A1 No description available. X-Debbugs-Envelope-To: 70705 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.8 (/) Dear Guix, this is a friendly ping :) I'm sending an updated patchset based on current master. Thank you for your work, giacomo From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 04 17:01:07 2024 Received: (at 70705) by debbugs.gnu.org; 4 Sep 2024 21:01:07 +0000 Received: from localhost ([127.0.0.1]:35533 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1slx7j-0006xR-CU for submit@debbugs.gnu.org; Wed, 04 Sep 2024 17:01:07 -0400 Received: from confino.investici.org ([93.190.126.19]:25129) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1slx7h-0006wn-EW for 70705@debbugs.gnu.org; Wed, 04 Sep 2024 17:01:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1725483600; bh=2wflWTa1YABgJ2qocJK79yDnt1qw3CW3AwOFXgy4b+Q=; h=From:To:Cc:Subject:Date:From; b=fzuHS/UoBNb0uHL9Kr1zoYoYoIQ8rqKeXLwnpHISRhCU5C1SmK7NPFcXWVtVQmYpK E3TCfrjbvlVcmABQ2poPmE2+YibX7G0SsYehNlbEFI0rT/YrOaKKZhy5VHV0a5Thkq tqVeEuM/KKNibZl668BfM6rt0Sox2TpCOLdFriFU= Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4WzZcw5p5sz1178; Wed, 4 Sep 2024 21:00:00 +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 4WzZcw51b3z115w; Wed, 4 Sep 2024 21:00:00 +0000 (UTC) From: Giacomo Leidi To: 70705@debbugs.gnu.org Subject: [PATCH v2 1/3] gnu: Add rust-libudev-sys-0.1. Date: Wed, 4 Sep 2024 22:59:46 +0200 Message-ID: <3341545202da586792b086d4c614618b70d06385.1725483588.git.goodoldpaul@autistici.org> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 X-Debbugs-Cc: Efraim Flashner Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 70705 Cc: Giacomo Leidi X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) * gnu/packages/crates-io.scm (rust-libudev-sys-0.1): New variable. Change-Id: I278a561e7dd8c10bf813b5ac4fded7fe74d391cc --- gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 0cdb071ea0..d04e4a11c4 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -39152,6 +39152,30 @@ (define-public rust-libsqlite3-sys-0.20 ("rust-pkg-config" ,rust-pkg-config-0.3) ("rust-vcpkg" ,rust-vcpkg-0.2)))))) +(define-public rust-libudev-sys-0.1 + (package + (name "rust-libudev-sys") + (version "0.1.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "libudev-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "09236fdzlx9l0dlrsc6xx21v5x8flpfm3d5rjq9jr5ivlas6k11w")))) + (build-system cargo-build-system) + (native-inputs + (list pkg-config)) + (inputs + (list eudev)) + (arguments + `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2) + ("rust-pkg-config" ,rust-pkg-config-0.3)))) + (home-page "https://github.com/dcuddeback/libudev-sys") + (synopsis "FFI bindings to @code{libudev}") + (description "This package provides FFI bindings to @code{libudev}.") + (license license:expat))) + (define-public rust-libxml-0.3 (package (name "rust-libxml") base-commit: 9a03ab25ba889be27b34d5cebea05d5ac3b0a033 -- 2.45.2 From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 04 17:01:08 2024 Received: (at 70705) by debbugs.gnu.org; 4 Sep 2024 21:01:08 +0000 Received: from localhost ([127.0.0.1]:35535 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1slx7j-0006xZ-ON for submit@debbugs.gnu.org; Wed, 04 Sep 2024 17:01:08 -0400 Received: from confino.investici.org ([93.190.126.19]:64637) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1slx7i-0006wr-3d for 70705@debbugs.gnu.org; Wed, 04 Sep 2024 17:01:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1725483601; bh=KP6RpT/GeGBti3PxXz+M3kcL8pytdSfqomZReXZZ/gE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lT505A+PqfgzgEEYIi+L+BgmKUXWmrLYoSEgJFJCKRAkvGmsw2cLbdEwjD0LGe+6u 85cBZcLAGUoVJG9Qfj7eKHXavbZOuAokucXZiVTjQ0r65r/5vb/zfpQbQtYMjYiLl8 qTbgoJNzOkJiv2MQztI7nqplKVJc85iP1TH38lSs= Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4WzZcx3SXXz117y; 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 4WzZcx2c0xz115w; Wed, 4 Sep 2024 21:00:01 +0000 (UTC) From: Giacomo Leidi To: 70705@debbugs.gnu.org Subject: [PATCH v2 3/3] gnu: Add rust-hidapi-2. Date: Wed, 4 Sep 2024 22:59:48 +0200 Message-ID: <40803695c21276e3177f167c8b270c7ebeb9b784.1725483588.git.goodoldpaul@autistici.org> 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 X-Debbugs-Cc: Efraim Flashner Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 70705 Cc: Giacomo Leidi X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) * gnu/packages/crates-io.scm (rust-hidapi-2): New variable. Change-Id: I3a8bb6e7d6e555fba8df036053b146d414b14198 --- gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 37b50d3b69..8912232885 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -32260,6 +32260,36 @@ (define-public rust-hexf-parse-0.2 provided for each type.") (license license:cc0))) +(define-public rust-hidapi-2 + (package + (name "rust-hidapi") + (version "2.6.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "hidapi" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0g62241lsd88blvmnwl4mwa556dljazc3g2ymq6zx27y4082an4y")))) + (build-system cargo-build-system) + (native-inputs + (list pkg-config)) + (inputs + (list eudev hidapi)) + (arguments + `(#:cargo-inputs (("rust-cc" ,rust-cc-1) + ("rust-cfg-if" ,rust-cfg-if-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-nix" ,rust-nix-0.27) + ("rust-pkg-config" ,rust-pkg-config-0.3) + ("rust-udev" ,rust-udev-0.8) + ("rust-windows-sys" ,rust-windows-sys-0.48)))) + (home-page "https://github.com/ruabmbua/hidapi-rs") + (synopsis "Rust-y wrapper around @code{hidapi}") + (description "This crate provides a Rust abstraction over the features of +the C library @code{hidapi}. Based off of @code{hidapi-rs} by Osspial.") + (license license:expat))) + (define-public rust-hexf-parse-0.1 (package (inherit rust-hexf-parse-0.2) -- 2.45.2 From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 04 17:01:15 2024 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) From: Giacomo Leidi To: 70705@debbugs.gnu.org Subject: [PATCH v2 2/3] gnu: rust-udev: Update to 0.8. 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 X-Debbugs-Cc: Efraim Flashner Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 70705 Cc: Giacomo Leidi X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) * 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 From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 20 18:57:10 2024 Received: (at 70705) by debbugs.gnu.org; 20 Oct 2024 22:57:10 +0000 Received: from localhost ([127.0.0.1]:49248 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t2erF-0002EL-Re for submit@debbugs.gnu.org; Sun, 20 Oct 2024 18:57:10 -0400 Received: from confino.investici.org ([93.190.126.19]:23111) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t2erD-0002ED-So for 70705@debbugs.gnu.org; Sun, 20 Oct 2024 18:57:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1729465001; bh=Lc9MOcSvNvXF+zHaMydZiBy/S989aUpHPKvbYvpN2GM=; h=Date:To:From:Subject:From; b=FaQ32oiL3gXVI0KIJ0dCiR+sJg+v2HNcIS4BztNFtCwurSIHRwnNgCm+IWeqgQ9tc mb9QzpJBl3w1UFOfs8xq+PEJm8q8Tjy0hgWBVnnxkU+ruZdIKasuMMM46mRAR8eVYT 9JhHyZLLrE1yfus4t5rXLo8f2q9cR3FrmAvo/Mz8= Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4XWv2K4fKrz10y2 for <70705@debbugs.gnu.org>; Sun, 20 Oct 2024 22:56:41 +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 4XWv2K4Df7z10xr for <70705@debbugs.gnu.org>; Sun, 20 Oct 2024 22:56:41 +0000 (UTC) Content-Type: multipart/alternative; boundary="------------KnwpveSpLZqhOfes17GsRDB7" Message-ID: <0eb0f0e1-93a4-4dca-9b28-9aca1f5dde83@autistici.org> Date: Mon, 21 Oct 2024 00:56:41 +0200 MIME-Version: 1.0 User-Agent: Icedove Daily Content-Language: en-US To: 70705@debbugs.gnu.org From: paul Subject: Re: Add rust-hidapi X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 70705 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) This is a multi-part message in MIME format. --------------KnwpveSpLZqhOfes17GsRDB7 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi Guix , this is a friendly ping. I'm sending a patchset rebased on current master. Thank you for your work, giacomo --------------KnwpveSpLZqhOfes17GsRDB7 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Hi Guix , this is a friendly ping. I'm sending a patchset rebased on current master.

Thank you for your work,

giacomo

--------------KnwpveSpLZqhOfes17GsRDB7-- From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 20 18:57:21 2024 Received: (at 70705) by debbugs.gnu.org; 20 Oct 2024 22:57:21 +0000 Received: from localhost ([127.0.0.1]:49252 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t2erR-0002Es-4q for submit@debbugs.gnu.org; Sun, 20 Oct 2024 18:57:21 -0400 Received: from confino.investici.org ([93.190.126.19]:56455) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t2erP-0002Ee-Jp for 70705@debbugs.gnu.org; Sun, 20 Oct 2024 18:57:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1729465013; bh=7TRZU8YveQijNgD+eeB1RvBVRHcPq3odB+FiJ9ZgCzE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=EXftG6f7WudocybaRBkZxCiksQJSUAQyReEtB7Q8uecs4CuthH/lyjGvXJD3S1V8U V7XKTMAYle2AVcI+HrQe+ox7p1vNIiPT1XlxAwqU6bFSqplX1+ACMYllSKCY5tnPOp Aat+gQgyLOxc36Yap46RSuhj+LoSLM4ILn8iOIPo= Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4XWv2Y2kfKz10yH; 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 4XWv2Y1wFYz10y2; Sun, 20 Oct 2024 22:56:53 +0000 (UTC) From: Giacomo Leidi To: 70705@debbugs.gnu.org Subject: [PATCH v2 3/3] gnu: Add rust-hidapi-2. Date: Mon, 21 Oct 2024 00:56:43 +0200 Message-ID: <70ac2afce60f2b3e04c2d3ee09047623b85ce4be.1729465003.git.goodoldpaul@autistici.org> 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 X-Debbugs-Cc: Efraim Flashner Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 70705 Cc: Giacomo Leidi X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) * gnu/packages/crates-io.scm (rust-hidapi-2): New variable. Change-Id: I3a8bb6e7d6e555fba8df036053b146d414b14198 --- gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 8bbed8a5a8..43f78234ee 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -32260,6 +32260,36 @@ (define-public rust-hexf-parse-0.2 provided for each type.") (license license:cc0))) +(define-public rust-hidapi-2 + (package + (name "rust-hidapi") + (version "2.6.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "hidapi" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0g62241lsd88blvmnwl4mwa556dljazc3g2ymq6zx27y4082an4y")))) + (build-system cargo-build-system) + (native-inputs + (list pkg-config)) + (inputs + (list eudev hidapi)) + (arguments + `(#:cargo-inputs (("rust-cc" ,rust-cc-1) + ("rust-cfg-if" ,rust-cfg-if-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-nix" ,rust-nix-0.27) + ("rust-pkg-config" ,rust-pkg-config-0.3) + ("rust-udev" ,rust-udev-0.8) + ("rust-windows-sys" ,rust-windows-sys-0.48)))) + (home-page "https://github.com/ruabmbua/hidapi-rs") + (synopsis "Rust-y wrapper around @code{hidapi}") + (description "This crate provides a Rust abstraction over the features of +the C library @code{hidapi}. Based off of @code{hidapi-rs} by Osspial.") + (license license:expat))) + (define-public rust-hexf-parse-0.1 (package (inherit rust-hexf-parse-0.2) -- 2.46.0 From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 20 18:57:21 2024 Received: (at 70705) by debbugs.gnu.org; 20 Oct 2024 22:57:21 +0000 Received: from localhost ([127.0.0.1]:49254 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t2erR-0002Eu-GC for submit@debbugs.gnu.org; Sun, 20 Oct 2024 18:57:21 -0400 Received: from confino.investici.org ([93.190.126.19]:57813) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t2erP-0002Eg-UV for 70705@debbugs.gnu.org; Sun, 20 Oct 2024 18:57:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1729465012; bh=YoH7+H4KmfwcdG8eeYJmTwm1M+yNET/pCzm/9QoPO2o=; h=From:To:Cc:Subject:Date:From; b=nYBmrkAFgkngEwfGJGodvK1EFd0r3dTXqt6jzvCY0RhSmODNbzXOv+FXSly05wIXM fUS0HbiKTVCxbu/IPhpLv9KCDvMRql0UfyhwkoMNpJ64vJlwta8DfnxYgDIRZ5a7BU qlCdvRiFma3Mn/Kj2fmostki4u9s3BkbbX/NctBI= Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4XWv2X507Tz10yF; Sun, 20 Oct 2024 22:56:52 +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 4XWv2X4D7Lz10y2; Sun, 20 Oct 2024 22:56:52 +0000 (UTC) From: Giacomo Leidi To: 70705@debbugs.gnu.org Subject: [PATCH v2 1/3] gnu: Add rust-libudev-sys-0.1. Date: Mon, 21 Oct 2024 00:56:41 +0200 Message-ID: <1337378d461f2489eae608e2366132db07842627.1729465003.git.goodoldpaul@autistici.org> X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 X-Debbugs-Cc: Efraim Flashner Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 70705 Cc: Giacomo Leidi X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) * gnu/packages/crates-io.scm (rust-libudev-sys-0.1): New variable. Change-Id: I278a561e7dd8c10bf813b5ac4fded7fe74d391cc --- gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index c08ccd29fd..e97f3c6a89 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -39152,6 +39152,30 @@ (define-public rust-libsqlite3-sys-0.20 ("rust-pkg-config" ,rust-pkg-config-0.3) ("rust-vcpkg" ,rust-vcpkg-0.2)))))) +(define-public rust-libudev-sys-0.1 + (package + (name "rust-libudev-sys") + (version "0.1.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "libudev-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "09236fdzlx9l0dlrsc6xx21v5x8flpfm3d5rjq9jr5ivlas6k11w")))) + (build-system cargo-build-system) + (native-inputs + (list pkg-config)) + (inputs + (list eudev)) + (arguments + `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2) + ("rust-pkg-config" ,rust-pkg-config-0.3)))) + (home-page "https://github.com/dcuddeback/libudev-sys") + (synopsis "FFI bindings to @code{libudev}") + (description "This package provides FFI bindings to @code{libudev}.") + (license license:expat))) + (define-public rust-libxml-0.3 (package (name "rust-libxml") base-commit: 5ab3c4c1e43ebb637551223791db0ea3519986e1 -- 2.46.0 From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 20 18:57:29 2024 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) From: Giacomo Leidi To: 70705@debbugs.gnu.org Subject: [PATCH v2 2/3] gnu: rust-udev: Update to 0.8. 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 X-Debbugs-Cc: Efraim Flashner Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 70705 Cc: Giacomo Leidi X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) * 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 From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 21 01:22:09 2024 Received: (at 70705-done) by debbugs.gnu.org; 21 Oct 2024 05:22:09 +0000 Received: from localhost ([127.0.0.1]:49744 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t2krp-00041M-7w for submit@debbugs.gnu.org; Mon, 21 Oct 2024 01:22:09 -0400 Received: from mail-wr1-f51.google.com ([209.85.221.51]:51597) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t2krn-00041D-5Q for 70705-done@debbugs.gnu.org; Mon, 21 Oct 2024 01:22:07 -0400 Received: by mail-wr1-f51.google.com with SMTP id ffacd0b85a97d-37d47eff9acso2687378f8f.3 for <70705-done@debbugs.gnu.org>; Sun, 20 Oct 2024 22:21:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729488040; x=1730092840; darn=debbugs.gnu.org; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:sender:from:to :cc:subject:date:message-id:reply-to; bh=Efnqz88eSToStudMFG19b9SS/ns88grRl87QPloiY7M=; b=WJN2kKwelzp5Iw1qepOvHWlb6Ia/arPVcxUjrW85Jo6fyLY8wIT/EFdPCUT0Q+YlGG gNqQvw2RItJwXSvkRvCdWz6KY0RXRR0aN4/cy+j/de15kBOdeMLTFdxdjS+X8AsgU70O gisjZLIc4jcPDTllhxJwENGfBz8F/p5vzJ3hZMxTbZjWF9+eaJ1AqvKLmXaKe4ihD5WO ItxOlJRguiihMBWmQS+Y8M9Bgg7lKwaVceKC3og75G86714Pi6LA/OMEOnd5Vh2n217c xSVDu4N9HCaBkinyRehHEEgbmIfYKNwcvdgaCsnj3q/ZsabOT+9NrV7LRlMpEyWmMVmz rFkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729488040; x=1730092840; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:sender :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Efnqz88eSToStudMFG19b9SS/ns88grRl87QPloiY7M=; b=f+T5WO7o4HS700jSX50aGJ1pPyzbkdvmS0dl1QHqmmUwlklN4nsjLkz9u7ktlwhXPK oZIYYtFoYBZ2vqojTN67epJu+HoLWdZ+BosJkQxzTYZ73MYhHhnq09ljE/HxqgYt2Znn LubD+fCQQxgbJKS2QZXRZmGOlpYIEpe848Putddn09T+fdm/DvRzib5kiJr3wQxpEKG6 DoKe+2Z2atgWMWEdVkca2RbXKDFrmj+Tu4R/qMmAfsAgDBBJK4Yxe9MMZRJg9ahQm4dT dOcMnZgOg7lD8VMtjZisIuMirxqsZdvRkRt0PdffK925M2FE7om2wsM+qEGjFNI1JHKC CQ2Q== X-Gm-Message-State: AOJu0YzwgrkaHFr51oK9tBKxh645lrd041zhtqlVs+9KGtjMvwLPz9VK wBIGHYWDOzINYMASxSUBSC8TjpHNGD48EUriWJ8QKgXNoOifNQGw X-Google-Smtp-Source: AGHT+IFIWwp55/w3WpUP5A8aek6V0MGbv2CGp5VfJAT25rjf0A6XLRgcF/QPhWLxQZVs7yWE7grk5Q== X-Received: by 2002:a5d:6d83:0:b0:37c:d20d:447c with SMTP id ffacd0b85a97d-37ea21a05d7mr7542958f8f.29.1729488040088; Sun, 20 Oct 2024 22:20:40 -0700 (PDT) Received: from localhost ([141.226.162.35]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-37ee0a58cc2sm3297004f8f.54.2024.10.20.22.20.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Oct 2024 22:20:38 -0700 (PDT) Date: Mon, 21 Oct 2024 08:20:36 +0300 From: Efraim Flashner To: Giacomo Leidi Subject: Re: [bug#70705] [PATCH v2 1/3] gnu: Add rust-libudev-sys-0.1. Message-ID: Mail-Followup-To: Efraim Flashner , Giacomo Leidi , 70705-done@debbugs.gnu.org References: <1337378d461f2489eae608e2366132db07842627.1729465003.git.goodoldpaul@autistici.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="mZQjPU8ZYU175kBF" Content-Disposition: inline In-Reply-To: <1337378d461f2489eae608e2366132db07842627.1729465003.git.goodoldpaul@autistici.org> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 70705-done Cc: 70705-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --mZQjPU8ZYU175kBF Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Thanks for the patches and for re-sending them as I took forever to actually apply them. Patches either applied to the rust-team branch, which I hope to merge back into master soon. --=20 Efraim Flashner =D7=A8=D7=A0=D7=A9=D7=9C=D7=A4 = =D7=9D=D7=99=D7=A8=D7=A4=D7=90 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --mZQjPU8ZYU175kBF Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmcV5KQACgkQQarn3Mo9 g1GHaQ//aGrqKfhw8a9jLg9ecabfQAo+yhuOi+gfRF1+FvA4w1bK1+oyaXfL5taj wwu56G2VH/0gBEYJOcmiHPzQFyaJxfW+yq0SxTAPzY7/qR3WvYNEhSp9x25UHMhM IBEZZb2QzQMzJidEjL67V6fqbtqqG/MGlfLd2uoNEJCpCGEOB911SxROTNd5/BUr diV590CnXUBlJncx1rlSVSHbKiC+zsS84MQGSgJX/A2LYDqbMyK2HuNhEOmdBI5V D/XxLdYy2vMEslQqFZ/s1UqI5ZxYZQENEoFCx7E2CGsKac8OKvj0Dkg4Z/BS52uP aUfe6MnfsfomxRHxGs5h0cbkHvlQJYr9g3AXdNlGXHoBEzD0SoyP0yQH06jOzF/7 /CFN+926BxdId2y4GxYU9974ROM9Vw04+Bxgu8nmBiO75CyMJCkaYJRGwdSxYtlL 7qRgIidNpaUzeb2lzHK1jVD3mUJ5ZsAagC0vc0KM8BRW0m8Ux5jPH19Hp/I4fjpE VhXUI0QDQRRsu7bgomsNAK8FdwdkefZtiEu4xKRfNnQxSebqCb4Nju9BGBZUPou0 ki7aZIxmxFV8ypfV1+6eM/QOjj3wZr3OMZOBkHyxnrqWwWs+KgBrhIkn6HIZsFTh Zu9ugDmj33CGVHs/1Le/ufN0DTaRHsjkR4baX2qGy/bVhTJ8TW8= =zqBe -----END PGP SIGNATURE----- --mZQjPU8ZYU175kBF-- From unknown Sat Jun 21 10:42:28 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 18 Nov 2024 12:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator