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.
This commit is contained in:
Ricardo Wurmus 2022-08-27 18:59:09 +02:00
parent f243233e8d
commit f705831d8f
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC

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