summaryrefslogtreecommitdiff
path: root/gnu/packages/crates-graphics.scm
diff options
context:
space:
mode:
authorEfraim Flashner <[email protected]>2024-01-04 11:31:01 +0200
committerEfraim Flashner <[email protected]>2024-02-20 13:57:14 +0200
commit16a97a9c2182950aebbc4313ddd1abffb83c1fa3 (patch)
tree0f5fa0005caf20ae35290d7baeccc65dee5ecb74 /gnu/packages/crates-graphics.scm
parent0922da22b2ed89b474158b3182abf14c5376ce14 (diff)
gnu: Add rust-x11rb-protocol-0.11.
* gnu/packages/crates-graphics.scm (rust-x11rb-protocol-0.11): New variable. Change-Id: I63b38c06c3f230a926b499a45e9c0564043a985e
Diffstat (limited to 'gnu/packages/crates-graphics.scm')
-rw-r--r--gnu/packages/crates-graphics.scm17
1 files changed, 17 insertions, 0 deletions
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index cfb36d3b7b..93db8ab422 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -5013,6 +5013,23 @@ the platform-specific getters provided by winit, or another library.")
(description "Rust bindings to X11.")
(license (list license:expat license:asl2.0))))
+(define-public rust-x11rb-protocol-0.11
+ (package
+ (inherit rust-x11rb-protocol-0.13)
+ (name "rust-x11rb-protocol")
+ (version "0.11.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "x11rb-protocol" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0mlwsfb4w8dic0hf0qdxix81f7w07z9v2nsdwly0f8qi2hxm3cg0"))))
+ (arguments
+ `(#:cargo-inputs (("rust-nix" ,rust-nix-0.25)
+ ("rust-serde" ,rust-serde-1))
+ #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3))))))
+
(define-public rust-x11rb-protocol-0.10
(package
(inherit rust-x11rb-protocol-0.13)