Subject: [bug#69803] [PATCH rust-team 35/37] gnu: Add rust-libudev-sys-0.1.

From: Herman Rimm <[email-masked]>
Date: Thu, 14 Mar 2024 22:16:36 +0100

* gnu/packages/crates-io.scm (rust-libudev-sys-0.1): Add variable.

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 92a525000e..bfbc5f63e6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -35303,6 +35303,28 @@ (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)
+    (arguments
+     `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)
+                       ("rust-pkg-config" ,rust-pkg-config-0.3))))
+    (native-inputs (list pkg-config))
+    (inputs (list eudev))
+    (home-page "https://github.com/dcuddeback/libudev-sys")
+    (synopsis "FFI bindings to libudev")
+    (description "This package provides FFI bindings to libudev.")
+    (license license:expat)))
+
 (define-public rust-libxml-0.3
   (package
     (name "rust-libxml")
-- 
2.41.0