summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Soo <jsoo1@asu.edu>2019-12-15 09:20:36 -0800
committerEfraim Flashner <efraim@flashner.co.il>2020-01-02 20:16:44 +0200
commit045cdf867934a30501a84e028f79ede9945f7749 (patch)
treed93ae29c70d28e2d95b7eea17f72c3a98249920a
parentcf47457707795272587bdcee5e2f32a3642543c6 (diff)
gnu: Add rust-cexpr-0.3.
* gnu/package/crates-io.scm (rust-cexpr-0.3): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r--gnu/packages/crates-io.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 18c430c76b..7764b0e70a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -899,6 +899,32 @@ archive to be linked into Rustcode.")
(license (list license:asl2.0
license:expat))))
+(define-public rust-cexpr-0.3
+ (package
+ (name "rust-cexpr")
+ (version "0.3.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "cexpr" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1by64ini3f058pwad3immx5cc12wr0m0kwgaxa8apzym03mj9ym7"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-nom" ,rust-nom-4.2))
+ #:cargo-development-inputs
+ (("rust-clang-sys" ,rust-clang-sys-0.28))))
+ (home-page "https://github.com/jethrogb/rust-cexpr")
+ (synopsis "C expression parser and evaluator")
+ (description
+ "This package provides a C expression parser and evaluator.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-chrono-0.4
(package
(name "rust-chrono")