summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-10 16:20:49 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-13 11:50:29 +0100
commit9f2426213a943ae23b1e852293b32569bca01a77 (patch)
treebf00713757c00d789861a3b488f62bc05e9568d8
parent07cdb05e99254c003823ad0b46abf90b9a66adda (diff)
downloadguix-9f2426213a943ae23b1e852293b32569bca01a77.tar.gz
gnu: Add rust-meval-0.2.
* gnu/packages/crates-io.scm (rust-meval-0.2): New variable.
-rw-r--r--gnu/packages/crates-io.scm24
1 files changed, 24 insertions, 0 deletions
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")