Subject: [PATCH 6/8] gnu: Add rust-udevrs-0.3.

From: Wilko Meyer <[email-masked]>
Date: Fri, 18 Oct 2024 01:56:39 +0200

* gnu/packages/crates-io.scm (rust-udevrs-0.3): New variable.

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e45803e8de..3d9f714432 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -85988,6 +85988,31 @@ (define-public rust-udev-0.7
                        ("rust-mio" ,rust-mio-0.8)
                        ("rust-pkg-config" ,rust-pkg-config-0.3))))))
 
+(define-public rust-udevrs-0.3
+  (package
+    (name "rust-udevrs")
+    (version "0.3.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "udevrs" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "028s1sk1ym919z0w6p8mnvgh9d35c9zzrlaxlmvfrppi6fx5kjdx"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2)
+                       ("rust-glob" ,rust-glob-0.3)
+                       ("rust-heapless" ,rust-heapless-0.7)
+                       ("rust-libc" ,rust-libc-0.2)
+                       ("rust-log" ,rust-log-0.4)
+                       ("rust-nix" ,rust-nix-0.27))))
+    (home-page "https://github.com/cr8t/udev")
+    (synopsis "Pure Rust implementation of the user-land udev library")
+    (description
+     "This package provides Pure Rust implementation of the user-land udev library.")
+    (license license:lgpl2.0+)))
+
 (define-public rust-ufmt-0.2
   (package
     (name "rust-ufmt")
-- 
2.46.0