aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu/packages/crates-graphics.scm34
1 files changed, 34 insertions, 0 deletions
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index 168951da62..a53f6c9cc7 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -3440,6 +3440,40 @@ applications.")
("rust-num-derive" ,rust-num-derive-0.2)
("rust-num-traits" ,rust-num-traits-0.2))))))
+(define-public rust-tiny-xlib-0.2
+ (package
+ (name "rust-tiny-xlib")
+ (version "0.2.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "tiny-xlib" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0vgbk1n6mk9vrvd228bpila359cz7vb9pbhyim507alv4r4qs2fl"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-test-flags '("--release" "--"
+ "--skip=error_handling"
+ "--skip=remove_and_re_insert"
+ "--skip=smoke"
+ "--skip=replace_old_handler")
+ #:cargo-inputs (("rust-as-raw-xcb-connection" ,rust-as-raw-xcb-connection-1)
+ ("rust-ctor" ,rust-ctor-0.2)
+ ("rust-libloading" ,rust-libloading-0.8)
+ ("rust-tracing" ,rust-tracing-0.1))
+ #:cargo-development-inputs
+ (("rust-tracing" ,rust-tracing-0.1)
+ ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3)
+ ("rust-x11-dl" ,rust-x11-dl-2)
+ ("rust-x11rb" ,rust-x11rb-0.12))))
+ (inputs
+ (list libx11))
+ (home-page "https://github.com/notgull/tiny-xlib")
+ (synopsis "Tiny Xlib wrapper for Rust")
+ (description "This package provides a tiny Xlib wrapper for Rust.")
+ (license (list license:expat license:asl2.0 license:zlib))))
+
(define-public rust-wayland-backend-0.3
(package
(name "rust-wayland-backend")