Subject: [PATCH 5/8] gnu: Add rust-udev-0.8.

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

* gnu/packages/crates-io.scm (rust-udev-0.8): New variable.

Change-Id: I47f033f89cb9b05a0141c7d80b9aeff57aab3f46
---
 gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++++----
 1 file changed, 26 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d95b60791b..e45803e8de 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -85942,20 +85942,21 @@ (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)
     (arguments
-     `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)
+     `(#: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)
@@ -85966,6 +85967,27 @@ (define-public rust-udev-0.7
     (description "This package provides libudev bindings for Rust.")
     (license license:expat)))
 
+(define-public rust-udev-0.7
+  (package
+    (inherit rust-udev-0.8)
+    (name "rust-udev")
+    (version "0.7.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "udev" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "06hr927z0fdn7ay0p817b9x19i5fagmpmvz95yhl4d1pf3bbpgaf"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("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))))))
+
 (define-public rust-ufmt-0.2
   (package
     (name "rust-ufmt")
-- 
2.46.0