From 045cdf867934a30501a84e028f79ede9945f7749 Mon Sep 17 00:00:00 2001 From: John Soo Date: Sun, 15 Dec 2019 09:20:36 -0800 Subject: gnu: Add rust-cexpr-0.3. * gnu/package/crates-io.scm (rust-cexpr-0.3): New variable. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'gnu') 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 @@ (define-public rust-cc-1.0 (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") -- cgit v1.2.3