GNU bug report logs - #75060
[PATCH rust-team 1/5] gnu: rust-x11-clipboard-0.9: Order alphabetically.

Previous Next

Package: guix-patches;

Reported by: Herman Rimm <herman <at> rimm.ee>

Date: Tue, 24 Dec 2024 10:04:02 UTC

Severity: normal

Tags: patch

Done: Efraim Flashner <efraim <at> flashner.co.il>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 75060 <at> debbugs.gnu.org (full text, mbox):

From: Herman Rimm <herman <at> rimm.ee>
To: 75060 <at> debbugs.gnu.org
Subject: [PATCH rust-team 2/5] gnu: rust-x11-clipboard-0.8: Order
 alphabetically.
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





This bug report was last modified 205 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.