Subject: [bug#67515] [PATCH 50/91] gnu: Add rust-xcb-0.10.

From: Sergio Pastor Pérez <[email-masked]>
Date: Tue, 28 Nov 2023 22:12:28 +0100

* gnu/packages/crates-io.scm (rust-xcb-0.10): New variable.

Change-Id: Ic6deca794915467984c9bfb881225ec1dda5ceb2
---
 gnu/packages/crates-io.scm | 23 ++++++++++++++++++++++-
 1 file changed, 22 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6afc0e5ea1..db88019e24 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -85080,10 +85080,31 @@ (define-public rust-xcb-1
      "This package provides Rust bindings and wrappers for XCB.")
     (license license:expat)))
 
-(define-public rust-xcb-0.9
+(define-public rust-xcb-0.10
   (package
     (inherit rust-xcb-1)
     (name "rust-xcb")
+    (version "0.10.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "xcb" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "171acbbbsr05ilw7ih0cc79qysci5pv91zyrdlfcs87pdncjn7kp"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-libc" ,rust-libc-0.2)
+                       ("rust-libc" ,rust-libc-0.2)
+                       ("rust-log" ,rust-log-0.4)
+                       ("rust-quick-xml" ,rust-quick-xml-0.22)
+                       ("rust-x11" ,rust-x11-2))))))
+
+(define-public rust-xcb-0.9
+  (package
+    (inherit rust-xcb-0.10)
+    (name "rust-xcb")
     (version "0.9.0")
     (source
      (origin
-- 
2.41.0