[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
12/19: gnu: Add rust-cexpr-0.2.
From: |
guix-commits |
Subject: |
12/19: gnu: Add rust-cexpr-0.2. |
Date: |
Wed, 26 Feb 2020 07:01:22 -0500 (EST) |
efraim pushed a commit to branch master
in repository guix.
commit d1e647e3638e1c2bcedfc918ccbd34a7ad78315a
Author: Valentin Ignatev <address@hidden>
AuthorDate: Sun Jan 26 16:13:24 2020 +0300
gnu: Add rust-cexpr-0.2.
* gnu/packages/crates-io.scm (rust-cexpr-0.2): New variable.
Signed-off-by: Efraim Flashner <address@hidden>
---
gnu/packages/crates-io.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index db52c14..39332dd 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1789,6 +1789,37 @@ archive to be linked into Rustcode.")
"This package provides a C expression parser and evaluator.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-cexpr-0.2
+ (package
+ (inherit rust-cexpr-0.3)
+ (name "rust-cexpr")
+ (version "0.2.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "cexpr" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0v1xa3758czmj8h97gh548mr8g0v13ixxvrlm1s79nb7jmgc9aj2"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-nom" ,rust-nom-3))
+ #:cargo-development-inputs
+ (("rust-clang-sys" ,rust-clang-sys-0.11))
+ #: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)))))
+
(define-public rust-chrono-0.4
(package
(name "rust-chrono")
- branch master updated (640d910 -> a86fc40), guix-commits, 2020/02/26
- 02/19: gnu: Add rust-serde-derive-0.9., guix-commits, 2020/02/26
- 01/19: gnu: Add rust-serde-codegen-internals-0.14., guix-commits, 2020/02/26
- 05/19: gnu: Add rust-serde-test-0.9., guix-commits, 2020/02/26
- 06/19: gnu: Add rust-serde-macros-0.4., guix-commits, 2020/02/26
- 09/19: gnu: Add rust-target-build-utils-0.3., guix-commits, 2020/02/26
- 10/19: gnu: Add rust-libloading-0.3., guix-commits, 2020/02/26
- 12/19: gnu: Add rust-cexpr-0.2.,
guix-commits <=
- 13/19: gnu: Add rust-bindgen-0.33., guix-commits, 2020/02/26
- 14/19: gnu: Add rust-winpty-sys-0.4., guix-commits, 2020/02/26
- 03/19: gnu: Add rust-serde-0.9., guix-commits, 2020/02/26
- 04/19: gnu: Add rust-serde-0.4., guix-commits, 2020/02/26
- 07/19: gnu: Add rust-linked-hash-map-0.4., guix-commits, 2020/02/26
- 08/19: gnu: Add rust-serde-json-0.9., guix-commits, 2020/02/26
- 11/19: gnu: Add rust-clang-sys-0.11., guix-commits, 2020/02/26
- 15/19: gnu: Add rust-partial-io-0.2., guix-commits, 2020/02/26
- 16/19: gnu: Add rust-bzip2-0.3., guix-commits, 2020/02/26
- 17/19: gnu: Add rust-zip-0.5., guix-commits, 2020/02/26