(address . guix-patches@gnu.org)
* gnu/packages/crates-graphics.scm (rust-x11-clipboard-0.9): Order.
Change-Id: I07a80145fd6c2b7cea983a2c6b083ea0d1f9e800
---
gnu/packages/crates-graphics.scm | 66 ++++++++++++++++----------------
1 file changed, 33 insertions(+), 33 deletions(-)
Toggle diff (88 lines)
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index e521750e73..d1626a2b4b 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -6446,6 +6446,39 @@ (define-public rust-x11-2
(description "This crate provides X11 library bindings for Rust.")
(license license:expat)))
+(define-public rust-x11-clipboard-0.9
+ (package
+ (name "rust-x11-clipboard")
+ (version "0.9.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "x11-clipboard" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "18rmsm0lrcc4hy2wqs7gn90czv59sv5bj07bbf76nfbysyrp8bb6"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-test-flags '("--release" "--"
+ "--skip=tests::should_work_but_does_not")
+ #:cargo-inputs (("rust-libc" ,rust-libc-0.2)
+ ("rust-x11rb" ,rust-x11rb-0.13))
+ #: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 " &"))))))))
+ (native-inputs (list xorg-server-for-tests))
+ (home-page "https://github.com/quininer/x11-clipboard")
+ (synopsis "X11 clipboard support for Rust")
+ (description "This package provides x11 clipboard support for Rust.")
+ (license license:expat)))
+
(define-public rust-x11rb-0.13
(package
(name "rust-x11rb")
@@ -6644,39 +6677,6 @@ (define-public rust-x11rb-protocol-0.10
#:cargo-development-inputs
(("rust-criterion" ,rust-criterion-0.3))))))
-(define-public rust-x11-clipboard-0.9
- (package
- (name "rust-x11-clipboard")
- (version "0.9.3")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "x11-clipboard" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "18rmsm0lrcc4hy2wqs7gn90czv59sv5bj07bbf76nfbysyrp8bb6"))))
- (build-system cargo-build-system)
- (arguments
- `(#:cargo-test-flags '("--release" "--"
- "--skip=tests::should_work_but_does_not")
- #:cargo-inputs (("rust-libc" ,rust-libc-0.2)
- ("rust-x11rb" ,rust-x11rb-0.13))
- #: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 " &"))))))))
- (native-inputs (list xorg-server-for-tests))
- (home-page "https://github.com/quininer/x11-clipboard")
- (synopsis "X11 clipboard support for Rust")
- (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)
base-commit: e793fbbd5282713fe5c9aad512c5784b0afff175
--
2.45.2