summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2022-08-27 18:59:09 +0200
committerRicardo Wurmus <rekado@elephly.net>2022-09-05 00:12:45 +0200
commitf705831d8f4c895c5a66ba748ad5f364c73d70b6 (patch)
treeec45e3bf8990889346f80c555d91b362f4c8facd /gnu/packages
parentf243233e8db34e3722ce152d1c2943c8c530010c (diff)
downloadguix-f705831d8f4c895c5a66ba748ad5f364c73d70b6.tar.gz
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.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm10
1 files 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