Subject: [PATCH rust-team 2/5] gnu: rust-x11-clipboard-0.8: Order alphabetically.

From: Herman Rimm <[email-masked]>
Date: Tue, 24 Dec 2024 11:11:47 +0100

* gnu/packages/crates-graphics.scm (rust-x11-clipboard-0.8): Order.

Change-Id: I808c9257b4528b4e569d8a92112aac590f914007
---
 gnu/packages/crates-graphics.scm | 50 ++++++++++++++++----------------
 1 file changed, 25 insertions(+), 25 deletions(-)

diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index d1626a2b4b..191fbefb5b 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -6479,6 +6479,31 @@ (define-public rust-x11-clipboard-0.9
     (description "This package provides x11 clipboard support for Rust.")
     (license license:expat)))
 
+(define-public rust-x11-clipboard-0.8
+  (package
+    (inherit rust-x11-clipboard-0.9)
+    (name "rust-x11-clipboard")
+    (version "0.8.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "x11-clipboard" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1ps0fk1912vzy382fc8l926q8w1l8bxmw72l3kr9bwdi2l8wl6ml"))))
+    (arguments
+     `(#:cargo-inputs (("rust-x11rb" ,rust-x11rb-0.12))
+       #:phases
+       (modify-phases %standard-phases
+         (add-before 'check 'pre-check
+           (lambda* (#:key native-inputs inputs #:allow-other-keys)
+             ;; Most tests require an X server.
+             (let ((xvfb (search-input-file (or native-inputs inputs)
+                                            "bin/Xvfb"))
+                   (display ":1"))
+               (setenv "DISPLAY" display)
+               (system (string-append xvfb " " display " &"))))))))))
+
 (define-public rust-x11rb-0.13
   (package
     (name "rust-x11rb")
@@ -6677,31 +6702,6 @@ (define-public rust-x11rb-protocol-0.10
        #:cargo-development-inputs
        (("rust-criterion" ,rust-criterion-0.3))))))
 
-(define-public rust-x11-clipboard-0.8
-  (package
-    (inherit rust-x11-clipboard-0.9)
-    (name "rust-x11-clipboard")
-    (version "0.8.1")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (crate-uri "x11-clipboard" version))
-       (file-name (string-append name "-" version ".tar.gz"))
-       (sha256
-        (base32 "1ps0fk1912vzy382fc8l926q8w1l8bxmw72l3kr9bwdi2l8wl6ml"))))
-    (arguments
-     `(#:cargo-inputs (("rust-x11rb" ,rust-x11rb-0.12))
-       #:phases
-       (modify-phases %standard-phases
-         (add-before 'check 'pre-check
-           (lambda* (#:key native-inputs inputs #:allow-other-keys)
-             ;; Most tests require an X server.
-             (let ((xvfb (search-input-file (or native-inputs inputs)
-                                            "bin/Xvfb"))
-                   (display ":1"))
-               (setenv "DISPLAY" display)
-               (system (string-append xvfb " " display " &"))))))))))
-
 (define-public rust-x11-clipboard-0.7
   (package
     (inherit rust-x11-clipboard-0.8)
-- 
2.45.2