futurile pushed a commit to branch rust-team
in repository guix.
commit 7e6116ce4de371ae3ac2d7b42ea9c0190502ca73
Author: Petr Hodina <[email protected]>
AuthorDate: Sat Mar 22 22:34:46 2025 +0000
gnu: rust-xcb-0.8: New version.
* gnu/packages/crates-io.scm (rust-xcb-0.8): New version.
Change-Id: I2241fd551b4d6abe1e6b864a8eab38dab053fe37
Signed-off-by: Steve George <[email protected]>
---
gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6330382d24..825a450449 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -94653,6 +94653,28 @@ extended attributes.")
"This package provides Rust bindings and wrappers for XCB.")
(license license:expat)))
+(define-public rust-xcb-0.8
+ (package
+ (inherit rust-xcb-1)
+ (name "rust-xcb")
+ (version "0.8.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "xcb" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1ph27r9nxyfy3hh1c7x85g6dciwxcinf6514pvw9ybhl4hzpm4ay"))))
+ (arguments
+ `(#:cargo-build-flags '("--features" "x11/xlib")
+ #:tests? #t ;FIXME: missing something
+ #:cargo-inputs
+ (("rust-libc" ,rust-libc-0.2)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-x11" ,rust-x11-2))))
+ (inputs (list mesa)) ;required by rust-x11-2
+ (native-inputs (list python pkg-config))))
+
(define-public rust-xcursor-0.3
(package
(name "rust-xcursor")