[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/23: gnu: Add rust-clang-sys-0.22.
From: |
guix-commits |
Subject: |
06/23: gnu: Add rust-clang-sys-0.22. |
Date: |
Mon, 24 Feb 2020 04:06:12 -0500 (EST) |
efraim pushed a commit to branch master
in repository guix.
commit c916b87ce96b30cab2163e09b790e5667fe49169
Author: Valentin Ignatev <address@hidden>
AuthorDate: Mon Jan 20 01:12:19 2020 +0300
gnu: Add rust-clang-sys-0.22.
* gnu/packages/crates-io.scm (rust-clang-sys-0.22): New variable.
Signed-off-by: Efraim Flashner <address@hidden>
---
gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1a81695..15e90da 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1855,6 +1855,36 @@ depending on a large number of #[cfg] parameters.
Structured like an
(string-append clang "/lib")))
#t)))))))
+(define-public rust-clang-sys-0.22
+ (package
+ (inherit rust-clang-sys-0.26)
+ (name "rust-clang-sys")
+ (version "0.22.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "clang-sys" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0f65dw1ydnzq4wrv894fql78n4ikb53jjp53xck0s4hb64s1m6lk"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-clippy" ,rust-clippy-0.0)
+ ("rust-glob" ,rust-glob-0.2)
+ ("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)))))))
+
(define-public rust-clap-2
(package
(name "rust-clap")
- 11/23: gnu: Add rust-gl-generator-0.11., (continued)
- 11/23: gnu: Add rust-gl-generator-0.11., guix-commits, 2020/02/24
- 14/23: gnu: rust-signal-hook-registry-1.0: Inherit from rust-signal-hook-registry-1.2., guix-commits, 2020/02/24
- 03/23: gnu: Add rust-thread-local-0.2., guix-commits, 2020/02/24
- 08/23: gnu: Add rust-gl-generator-0.13., guix-commits, 2020/02/24
- 04/23: gnu: Add rust-calloop-0.4., guix-commits, 2020/02/24
- 15/23: gnu: rust-siphasher-0.2: Don't skip build., guix-commits, 2020/02/24
- 16/23: gnu: Add rust-simd-0.2., guix-commits, 2020/02/24
- 05/23: gnu: Add rust-cgl-0.3., guix-commits, 2020/02/24
- 18/23: gnu: rust-bumpalo-2.5: Inherit from rust-bumpalo-3., guix-commits, 2020/02/24
- 20/23: gnu: Add rust-gzip-header-0.3., guix-commits, 2020/02/24
- 06/23: gnu: Add rust-clang-sys-0.22.,
guix-commits <=
- 12/23: gnu: Add rust-signal-hook-registry-1.2., guix-commits, 2020/02/24
- 17/23: gnu: Add rust-bumpalo-3., guix-commits, 2020/02/24
- 07/23: gnu: Add rust-gl-generator-0.14., guix-commits, 2020/02/24
- 09/23: gnu: Add rust-gleam-0.6., guix-commits, 2020/02/24
- 21/23: gnu: Add rust-deflate-0.7., guix-commits, 2020/02/24
- 19/23: gnu: Add rust-bzip2-sys-0.1., guix-commits, 2020/02/24
- 23/23: gnu: Add rust-euclid-0.20., guix-commits, 2020/02/24
- 22/23: gnu: Add rust-dlib-0.4., guix-commits, 2020/02/24
- 10/23: gnu: Add rust-cgl-0.2., guix-commits, 2020/02/24