From 9f2426213a943ae23b1e852293b32569bca01a77 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Wed, 10 Feb 2021 16:20:49 +0100 Subject: gnu: Add rust-meval-0.2. * gnu/packages/crates-io.scm (rust-meval-0.2): New variable. --- gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 3ca2f64575..dee97faab2 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -21852,6 +21852,30 @@ based on Rustls and Ring.") (("rust-sema" ,rust-sema-0.1) ("rust-winit" ,rust-winit-0.19)))))) ; 0.17? +(define-public rust-meval-0.2 + (package + (name "rust-meval") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "meval" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1ncj0fv9q3b4his7g947fmgkskpfly6dsniw0g6mg38wcnjrd57p")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-fnv" ,rust-fnv-1) + ("rust-nom" ,rust-nom-1) + ("rust-serde" ,rust-serde-1)))) + (home-page "https://github.com/rekka/meval-rs") + (synopsis "Simple math expression parser and evaluator") + (description + "This package provides a simple math expression parser and evaluator.") + (license (list license:unlicense license:expat)))) + (define-public rust-mimalloc-0.1 (package (name "rust-mimalloc") -- cgit 1.4.1