Subject: [bug#75069] [PATCH rust-team 12/57] gnu: rust-rusb-0.9: Order alphabetically.

From: Herman Rimm <[email-masked]>
Date: Tue, 24 Dec 2024 22:25:55 +0100

* gnu/packages/crates-io.scm (rust-rusb-0.9): Order.

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d89ab86092..6587de5a3f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -70409,6 +70409,32 @@ (define-public rust-runtime-tokio-0.3
     (description "This package provides a Tokio-based asynchronous runtime.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-rusb-0.9
+  (package
+    (name "rust-rusb")
+    (version "0.9.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "rusb" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1905rijhabvylblh24379229hjmkfhxr80jc79aqd9v3bgq9z7xb"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)
+                       ("rust-libusb1-sys" ,rust-libusb1-sys-0.7)
+                       ("rust-serde" ,rust-serde-1))
+       #:cargo-development-inputs (("rust-regex" ,rust-regex-1)
+                                   ("rust-usb-ids" ,rust-usb-ids-1))))
+    (inputs (list libusb))
+    (native-inputs (list pkg-config))
+    (home-page "https://github.com/a1ien/rusb")
+    (synopsis "Library for accessing USB devices")
+    (description
+     "This package provides a Rust library for accessing USB devices.")
+    (license license:expat)))
+
 (define-public rust-rusqlite-0.32
   (package
     (name "rust-rusqlite")
@@ -70901,32 +70927,6 @@ (define-public rust-rust-embed-utils-5
     (arguments
      `(#:cargo-inputs (("rust-walkdir" ,rust-walkdir-2))))))
 
-(define-public rust-rusb-0.9
-  (package
-    (name "rust-rusb")
-    (version "0.9.4")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (crate-uri "rusb" version))
-       (file-name (string-append name "-" version ".tar.gz"))
-       (sha256
-        (base32 "1905rijhabvylblh24379229hjmkfhxr80jc79aqd9v3bgq9z7xb"))))
-    (build-system cargo-build-system)
-    (arguments
-     `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)
-                       ("rust-libusb1-sys" ,rust-libusb1-sys-0.7)
-                       ("rust-serde" ,rust-serde-1))
-       #:cargo-development-inputs (("rust-regex" ,rust-regex-1)
-                                   ("rust-usb-ids" ,rust-usb-ids-1))))
-    (inputs (list libusb))
-    (native-inputs (list pkg-config))
-    (home-page "https://github.com/a1ien/rusb")
-    (synopsis "Library for accessing USB devices")
-    (description
-     "This package provides a Rust library for accessing USB devices.")
-    (license license:expat)))
-
 (define-public rust-rust-hawktracer-0.7
   (package
     (name "rust-rust-hawktracer")
-- 
2.45.2