Subject: [PATCH 21/30] gnu: Add rust-statrs-0.16.

From: Wilko Meyer <[email-masked]>
Date: Wed, 1 May 2024 00:27:26 +0200

* gnu/packages/crates-io.scm (rust-statrs-0.16): New variable.

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2a311ca765..7df4c8d254 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -64747,6 +64747,31 @@ (define-public rust-statistical-1
     (description "This package provides a simple statistics library.")
     (license license:expat)))
 
+(define-public rust-statrs-0.16
+  (package
+    (name "rust-statrs")
+    (version "0.16.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "statrs" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0vk9wlimhy6wx9a1hhy2n3knpd2gj8b8pnl1q8y734l1fkhya21d"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #f
+       #:cargo-inputs (("rust-approx" ,rust-approx-0.5)
+                       ("rust-lazy-static" ,rust-lazy-static-1)
+                       ("rust-nalgebra" ,rust-nalgebra-0.29)
+                       ("rust-num-traits" ,rust-num-traits-0.2)
+                       ("rust-rand" ,rust-rand-0.8))))
+    (home-page "https://github.com/boxtown/statrs")
+    (synopsis "Statistical computing library for Rust")
+    (description "This package provides a statistical computing library for
+Rust.")
+    (license license:expat)))
+
 (define-public rust-statrs-0.14
   (package
     (name "rust-statrs")
-- 
2.41.0