gnu: rust-nettle-sys-2: Do not skip build.

* gnu/packages/crates-io.scm (rust-nettle-2-sys): [arguments] Change
cargo-development-inputs into cargo-inputs since they are required to
build. Do not skip build.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
John Soo 2020-06-18 15:13:55 -07:00 committed by Efraim Flashner
parent 7b5be01359
commit 529298bf95
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -15919,10 +15919,17 @@ (define-public rust-nettle-sys-2
(inputs
`(("nettle", nettle)))
(arguments
`(#:skip-build? #t
#:cargo-development-inputs
`(#:cargo-inputs
(("rust-bindgen" ,rust-bindgen-0.51)
("rust-pkg-config" ,rust-pkg-config-0.3))))
("rust-pkg-config" ,rust-pkg-config-0.3))
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'set-environmental-variable
(lambda* (#:key inputs #:allow-other-keys)
(let ((clang (assoc-ref inputs "clang")))
(setenv "LIBCLANG_PATH"
(string-append clang "/lib")))
#t)))))
(home-page "https://gitlab.com/sequoia-pgp/nettle-sys")
(synopsis "Low-level Rust bindings for the Nettle cryptographic library")
(description "This package provides low-level Rust bindings for the Nettle