[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/41: gnu: rust-clang-sys-0.28: Don't hide package.
From: |
guix-commits |
Subject: |
03/41: gnu: rust-clang-sys-0.28: Don't hide package. |
Date: |
Tue, 11 Feb 2020 13:24:43 -0500 (EST) |
efraim pushed a commit to branch master
in repository guix.
commit 47fdc51adbea326b05142630ca9a9c748300c6a6
Author: Efraim Flashner <address@hidden>
AuthorDate: Tue Feb 11 16:36:49 2020 +0200
gnu: rust-clang-sys-0.28: Don't hide package.
* gnu/packages/crates-io.scm (rust-clang-sys-0.28)[arguments]: Add
rust-glob-0.3, rust-libc-0.2, rust-libloading-0.5 to cargo-inputs. Add
custom phase to find libclang.
[native-inputs]: Add clang.
[properties]: Remove field.
---
gnu/packages/crates-io.scm | 34 +++++++++++++++++-----------------
1 file changed, 17 insertions(+), 17 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 13616bd..01b1c55 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1547,27 +1547,30 @@ depending on a large number of #[cfg] parameters.
Structured like an
(origin
(method url-fetch)
(uri (crate-uri "clang-sys" version))
- (file-name (string-append name "-" version ".crate"))
+ (file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"0ls8zcqi5bmmrvrk3b6r1ym4wlivinbv590d2dvg2xn9f44mbpl1"))))
(build-system cargo-build-system)
- ;(arguments
- ; `(#:phases
- ; (modify-phases %standard-phases
- ; (add-after 'unpack 'set-environmental-variable
- ; (lambda* (#:key inputs #:allow-other-keys)
- ; (let ((clang (assoc-ref inputs "libclang")))
- ; (setenv "LIBCLANG_PATH"
- ; (string-append clang "/lib")))
- ; #t)))))
- ;(inputs
- ; `(("libclang" ,clang)))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-glob" ,rust-glob-0.3)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-libloading" ,rust-libloading-0.5))
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'set-environmental-variable
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let ((clang (assoc-ref inputs "libclang")))
+ (setenv "LIBCLANG_PATH"
+ (string-append clang "/lib")))
+ #t)))))
+ (inputs
+ `(("libclang" ,clang)))
(home-page "https://github.com/KyleMayes/clang-sys")
(synopsis "Rust bindings for libclang")
(description
"This package provides Rust bindings for @code{libclang}.")
- (properties '((hidden? . #t)))
(license license:asl2.0)))
(define-public rust-clang-sys-0.26
@@ -1595,10 +1598,7 @@ depending on a large number of #[cfg] parameters.
Structured like an
(let ((clang (assoc-ref inputs "libclang")))
(setenv "LIBCLANG_PATH"
(string-append clang "/lib")))
- #t)))))
- (inputs
- `(("libclang" ,clang)))
- (properties '())))
+ #t)))))))
(define-public rust-clap-2
(package
- branch master updated (81565d2 -> d883e79), guix-commits, 2020/02/11
- 01/41: gnu: rust-libloading-0.5: Don't skip build., guix-commits, 2020/02/11
- 03/41: gnu: rust-clang-sys-0.28: Don't hide package.,
guix-commits <=
- 02/41: gnu: rust-clang-0.26: Don't hide package., guix-commits, 2020/02/11
- 06/41: gnu: rust-numtoa-0.1: Don't hide package., guix-commits, 2020/02/11
- 10/41: gnu: rust-percent-encoding-2.1: Don't hide package., guix-commits, 2020/02/11
- 13/41: gnu: rust-plain-0.2: Don't hide package., guix-commits, 2020/02/11
- 14/41: gnu: rust-traitobject-0.1: Don't hide package., guix-commits, 2020/02/11
- 12/41: gnu: rust-pkg-config-0.3: Update to 0.3.17., guix-commits, 2020/02/11
- 08/41: gnu: rust-parity-wasm-0.40: Update to 0.40.3., guix-commits, 2020/02/11
- 15/41: gnu: rust-unsafe-any-0.4: Don't hide package., guix-commits, 2020/02/11
- 16/41: gnu: rust-typemap-0.3: Don't hide package., guix-commits, 2020/02/11
- 19/41: gnu: rust-ppv-lite86-0.2: Upgrade to 0.2.6., guix-commits, 2020/02/11