[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/45: gnu: rust-nettle-sys-2: Do not skip build.
From: |
guix-commits |
Subject: |
09/45: gnu: rust-nettle-sys-2: Do not skip build. |
Date: |
Sun, 22 Nov 2020 12:49:38 -0500 (EST) |
efraim pushed a commit to branch master
in repository guix.
commit 529298bf9583732d078520905c1ac218d977bc58
Author: John Soo <jsoo1@asu.edu>
AuthorDate: Thu Jun 18 15:13:55 2020 -0700
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>
---
gnu/packages/crates-io.scm | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ee8e500..99c0f04 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -15919,10 +15919,17 @@ cryptographic library.")
(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
- branch master updated (2a17365 -> 1ca0c34), guix-commits, 2020/11/22
- 02/45: gnu: Add rust-base58-0.1., guix-commits, 2020/11/22
- 03/45: gnu: Add rust-bs58-0.2., guix-commits, 2020/11/22
- 05/45: gnu: Add rust-getch-0.2., guix-commits, 2020/11/22
- 07/45: gnu: Add rust-sanakirja-0.10., guix-commits, 2020/11/22
- 06/45: gnu: Add rust-diffs-0.3., guix-commits, 2020/11/22
- 01/45: gnu: Add rust-rust-base58-0.0., guix-commits, 2020/11/22
- 04/45: gnu: Add rust-cryptovec-0.4., guix-commits, 2020/11/22
- 08/45: gnu: Add rust-buffered-reader-0.9., guix-commits, 2020/11/22
- 10/45: gnu: Add rust-nettle-5., guix-commits, 2020/11/22
- 09/45: gnu: rust-nettle-sys-2: Do not skip build.,
guix-commits <=
- 15/45: gnu: Add rust-line-0.1., guix-commits, 2020/11/22
- 17/45: gnu: Add rust-progrs-0.1., guix-commits, 2020/11/22
- 18/45: gnu: Add rust-rpassword-2., guix-commits, 2020/11/22
- 13/45: gnu: Add rust-sequoia-openpgp-0.9., guix-commits, 2020/11/22
- 14/45: gnu: Add rust-libpijul-0.12., guix-commits, 2020/11/22
- 11/45: gnu: Add rust-rpassword-3., guix-commits, 2020/11/22
- 12/45: gnu: Add rust-sequoia-rfc2822-0.9., guix-commits, 2020/11/22
- 16/45: gnu: Add rust-pathdiff-0.1., guix-commits, 2020/11/22
- 21/45: gnu: Add rust-cookie-store-0.7., guix-commits, 2020/11/22
- 20/45: gnu: Add rust-cookie-0.12., guix-commits, 2020/11/22