diff mbox series

[bug#69803,rust-team,18/37] gnu: Add rust-x11rb-0.9.

Message ID 20240314211638.6190-18-herman@rimm.ee
State New
Headers show
Series [bug#69803,rust-team,01/37] gnu: Add rust-rename-item-0.1. | expand

Commit Message

Herman Rimm March 14, 2024, 9:16 p.m. UTC
* gnu/packages/crates-graphics.scm (rust-x11rb-0.9): Add variable.

Change-Id: I1a979fd105a145405157bf53ddf94ecdc1168a63
---
 gnu/packages/crates-graphics.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index f95a4a65cd..cb2d6eeeb9 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -5520,6 +5520,28 @@  (define-public rust-x11rb-0.10
         ("rust-winapi-wsapoll" ,rust-winapi-wsapoll-0.1)
         ("rust-x11rb-protocol" ,rust-x11rb-protocol-0.10))))))
 
+(define-public rust-x11rb-0.9
+  (package
+    (inherit rust-x11rb-0.10)
+    (name "rust-x11rb")
+    (version "0.9.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "x11rb" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "12kdvzjfdbv9nkliq9lk6jd70f71q1qaiya24fjy4flbciavx6bf"))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-gethostname" ,rust-gethostname-0.2)
+        ("rust-libc" ,rust-libc-0.2)
+        ("rust-libloading" ,rust-libloading-0.7)
+        ("rust-nix" ,rust-nix-0.22)
+        ("rust-once-cell" ,rust-once-cell-1)
+        ("rust-winapi" ,rust-winapi-0.3)
+        ("rust-winapi-wsapoll" ,rust-winapi-wsapoll-0.1))))))
+
 (define-public rust-x11rb-0.8
   (package
     (inherit rust-x11rb-0.10)