From f705831d8f4c895c5a66ba748ad5f364c73d70b6 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sat, 27 Aug 2022 18:59:09 +0200 Subject: [PATCH] gnu: rust-bindgen-0.57: Fix build. * gnu/packages/crates-io.scm (rust-bindgen-0.57)[arguments]: Do not skip build; disable tests; add development inputs rust-clap-2, rust-diff-0.1, and rust-shlex-0.1. [inputs]: Add clang. --- gnu/packages/crates-io.scm | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index ccc198121c..c552280179 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -6417,7 +6417,7 @@ bindings to C and C++ libraries.") (sha256 (base32 "0g96ypnck6n60p3cz9k3y3jnxi4z7jfv2pha5bxsm8269806aj7x")))) (arguments - `(#:skip-build? #t + `(#:tests? #false ;tests/headers/16-byte-alignment.h does not exist #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) ("rust-cexpr" ,rust-cexpr-0.4) @@ -6433,7 +6433,13 @@ bindings to C and C++ libraries.") ("rust-regex" ,rust-regex-1) ("rust-rustc-hash" ,rust-rustc-hash-1) ("rust-shlex" ,rust-shlex-0.1) - ("rust-which" ,rust-which-3)))))) + ("rust-which" ,rust-which-3)) + #:cargo-development-inputs + (("rust-clap" ,rust-clap-2) + ("rust-diff" ,rust-diff-0.1) + ("rust-shlex" ,rust-shlex-0.1)))) + (inputs + (list clang)))) (define-public rust-bindgen-0.55 (package