3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

gnu: rust-xcb-0.9: Don't skip build.

* gnu/packages/crates-io.scm (rust-xbc-0.9)[arguments]: Don't skip
build. Skip test phase. Use cargo-build-flags to build debug features.
[inputs]: Add libx11, libxcb, xcb-proto.
[native-inputs]: Add pkg-config, python.
This commit is contained in:
Efraim Flashner 2020-02-11 22:27:46 +02:00
parent 24783bd622
commit 3886150cd8
Signed by untrusted user: efraim
GPG key ID: 41AAE7DCCA3D8351

View file

@ -33,9 +33,11 @@
#:use-module (gnu packages llvm)
#:use-module (gnu packages pcre)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages python)
#:use-module (gnu packages ssh)
#:use-module (gnu packages tls)
#:use-module (gnu packages version-control))
#:use-module (gnu packages version-control)
#:use-module (gnu packages xorg))
;;;
;;; Please: Try to add new module packages in alphabetic order.
@ -15230,17 +15232,23 @@ extended attributes.")
"19i2pm8alpn2f0m4jg8bsw6ckw8irj1wjh55h9pi2fcb2diny1b2"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
`(#:tests? #f ; Building all the features tests the code.
#:cargo-build-flags '("--features" "debug_all")
#:cargo-inputs
(("rust-libc" ,rust-libc-0.2)
("rust-log" ,rust-log-0.4)
("rust-x11" ,rust-x11-2))
#:cargo-development-inputs
(("rust-libc" ,rust-libc-0.2))))
("rust-x11" ,rust-x11-2))))
(inputs
`(("libx11" ,libx11)
("libxcb" ,libxcb)
("xcb-proto" ,xcb-proto)))
(native-inputs
`(("pkg-config" ,pkg-config)
("python" ,python)))
(home-page "https://github.com/rtbo/rust-xcb")
(synopsis "Rust bindings and wrappers for XCB")
(description
"Rust bindings and wrappers for XCB")
"This package provides Rust bindings and wrappers for XCB.")
(license license:expat)))
(define-public rust-xdg-2.2