Subject: [PATCH 22/87] gnu: Add rust-libmath-0.2.1.

From: VÖRÖSKŐI András <[email-masked]>
Date: Sat, 24 Feb 2024 21:39:20 +0100

* gnu/packages/crates-io.scm (rust-libmath-0.2): New variable.

Change-Id: Ie18b444f9dd260f849f04bc5bee7d5a6324c5e6b
---
 gnu/packages/crates-io.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ff92aa4071..738cf45f2e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -34047,6 +34047,25 @@ (define-public rust-libmacchina-6
 information.")
     (license license:expat)))
 
+(define-public rust-libmath-0.2
+  (package
+    (name "rust-libmath")
+    (version "0.2.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "libmath" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "00j546nfjsd4i1z1di800crazjyz6bv0dc63sn0awlx86ill3lyz"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-rand" ,rust-rand-0.3))))
+    (home-page "https://github.com/scoobadog/libmath-rs")
+    (synopsis "mathematical utilities")
+    (description "Mathematical utilities.")
+    (license license:expat)))
+
 (define-public rust-libmimalloc-sys-0.1
   (package
     (name "rust-libmimalloc-sys")
-- 
2.41.0