gnu: Add rust-tiny-xlib-0.2.

* gnu/packages/crates-graphics.scm (rust-tiny-xlib-0.2): New variable.

Change-Id: I95f5c551bde971ce95c6d4d269974734d7574b13
This commit is contained in:
Efraim Flashner 2024-01-04 12:07:43 +02:00
parent 4dab091d32
commit c10a5c9020
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351

View File

@ -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")