summaryrefslogtreecommitdiff
path: root/gnu/packages/crates-graphics.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/crates-graphics.scm')
-rw-r--r--gnu/packages/crates-graphics.scm28
1 files changed, 22 insertions, 6 deletions
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index 84d7cfe3db..cfb36d3b7b 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -4993,8 +4993,29 @@ the platform-specific getters provided by winit, or another library.")
("rust-winapi" ,rust-winapi-0.3)
("rust-winapi-wsapoll" ,rust-winapi-wsapoll-0.1))))))
+(define-public rust-x11rb-protocol-0.13
+ (package
+ (name "rust-x11rb-protocol")
+ (version "0.13.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "x11rb-protocol" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0d3cc2dr5fcx8asgrm31d7lrxpnbqi6kl5v3r71gx7xxp3272gp6"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-serde" ,rust-serde-1))
+ #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.5))))
+ (home-page "https://github.com/psychon/x11rb")
+ (synopsis "Rust bindings to X11")
+ (description "Rust bindings to X11.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-x11rb-protocol-0.10
(package
+ (inherit rust-x11rb-protocol-0.13)
(name "rust-x11rb-protocol")
(version "0.10.0")
(source (origin
@@ -5004,17 +5025,12 @@ the platform-specific getters provided by winit, or another library.")
(sha256
(base32
"0rxcpsmgrziwqy9ml81h8r1lwy422h1i5j3d007dpj8a3islbcjn"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-nix" ,rust-nix-0.24)
("rust-serde" ,rust-serde-1))
#:cargo-development-inputs
- (("rust-criterion" ,rust-criterion-0.3))))
- (home-page "https://github.com/psychon/x11rb")
- (synopsis "Rust bindings to X11")
- (description "Rust bindings to X11")
- (license (list license:expat license:asl2.0))))
+ (("rust-criterion" ,rust-criterion-0.3))))))
(define-public rust-x11-clipboard-0.8
(package