aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-02-11 22:27:46 +0200
committerEfraim Flashner <efraim@flashner.co.il>2020-02-11 22:28:12 +0200
commit3886150cd873771c7eba22b08d6f17ad32c68251 (patch)
treea955518a93f7fa64b015d2f4522f81a971b26563
parent24783bd6222d554925638b01163fa11d8e2088d8 (diff)
downloadguix-3886150cd873771c7eba22b08d6f17ad32c68251.tar.gz
guix-3886150cd873771c7eba22b08d6f17ad32c68251.zip
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.
-rw-r--r--gnu/packages/crates-io.scm20
1 files changed, 14 insertions, 6 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index abbb3446ca..788840ac6f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -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