gnu: rust-x11-clipboard-0.9: Order alphabetically.

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

Change-Id: I07a80145fd6c2b7cea983a2c6b083ea0d1f9e800
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
Herman Rimm 2024-12-24 11:02:24 +01:00 committed by Efraim Flashner
parent 6238e44eb6
commit 3d41a52939
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -6445,6 +6445,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")
@ -6643,39 +6676,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)