aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/crates-graphics.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-04-23 17:55:03 +0300
committerEfraim Flashner <efraim@flashner.co.il>2023-05-07 19:29:36 +0300
commitb5f6ad81fed3dcf7884fc764c4f6d4f1071cfe22 (patch)
treeaa51bb347a7bbd5a5b10818359adb4467e8fcd9d /gnu/packages/crates-graphics.scm
parent251c2620f4d4e482654b8670f9cb57a5cf3dac0d (diff)
downloadguix-b5f6ad81fed3dcf7884fc764c4f6d4f1071cfe22.tar.gz
guix-b5f6ad81fed3dcf7884fc764c4f6d4f1071cfe22.zip
gnu: Add rust-x11rb-protocol-0.10.
* gnu/packages/crates-graphics.scm (rust-x11rb-protocol-0.10): New variable.
Diffstat (limited to 'gnu/packages/crates-graphics.scm')
-rw-r--r--gnu/packages/crates-graphics.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index 638069d624..2904a080cb 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -3632,6 +3632,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.10
+ (package
+ (name "rust-x11rb-protocol")
+ (version "0.10.0")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "x11rb-protocol" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (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))))
+
(define-public rust-x11-clipboard-0.7
(package
(name "rust-x11-clipboard")