Subject: [PATCH 05/13] gnu: Add [email-masked]

From: David Hoppenbrouwers <[email-masked]>
Date: Wed, 21 May 2025 18:19:47 +0200

Change-Id: I9c1bf714ed64ff06cc090d87a239d26d39d29f1d
---
 gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ea59386ba8..bf83e912ec 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -40716,6 +40716,29 @@ (define-public rust-libtest-mimic-0.3
         ("rust-structopt" ,rust-structopt-0.3)
         ("rust-termcolor" ,rust-termcolor-1))))))
 
+(define-public rust-libudev-0.3
+  (package
+    (name "rust-libudev")
+    (version "0.3.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "libudev" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1q1my5alvdwyi8i9pc9gn2mcx5rhbsssmz5cjnxzfpd65laj9cvq"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)
+                       ("rust-libudev-sys" ,rust-libudev-sys-0.1))))
+    (native-inputs (list pkg-config))
+    (inputs (list eudev))
+    (home-page "https://github.com/dcuddeback/libudev-rs")
+    (synopsis "Rust wrapper for libudev")
+    (description
+     "This crate provides a safe wrapper around the native libudev library.")
+    (license license:expat)))
+
 (define-public rust-libudev-sys-0.1
   (package
     (name "rust-libudev-sys")
-- 
2.49.0