guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#49385] [PATCH 04/21] gnu: Add rust-statistical-1


From: Domagoj Stolfa
Subject: [bug#49385] [PATCH 04/21] gnu: Add rust-statistical-1
Date: Sun, 4 Jul 2021 17:31:46 +0100

* gnu/packages/crates-io.scm (rust-statistical-1): New public variable.
---
 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 7e0ed9e504..61641c9a05 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -43499,6 +43499,31 @@ are met.")
 map.")
     (license license:expat)))
 
+(define-public rust-statistical-1
+  (package
+    (name "rust-statistical")
+    (version "1.0.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "statistical" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "0wm35q6p6jcq1r1darczv4if7qss460kd391nlw5x3hjpc17kma9"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:cargo-inputs
+        (("rust-num" ,rust-num-0.2)
+         ("rust-rand" ,rust-rand-0.6))))
+    (home-page
+      "https://github.com/JeffBelgum/statistical";)
+    (synopsis "A simple statistics library")
+    (description
+      "This package provides a simple statistics library")
+    (license license:expat)))
+
 (define-public rust-stb-truetype-0.3
   (package
     (name "rust-stb-truetype")
-- 
2.32.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]