summary refs log tree commit diff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-08-28 16:32:20 +0300
committerEfraim Flashner <efraim@flashner.co.il>2019-08-28 16:53:07 +0300
commitbfd6150ea841646a5636f164f179a29dbbf63b88 (patch)
treeb5a6a71dd6ae17c204df10ec25a0d5376587d8b4 /gnu/packages/crates-io.scm
parent588596247dd6bb9b81cd9b17af9467f4810c08a1 (diff)
downloadguix-bfd6150ea841646a5636f164f179a29dbbf63b88.tar.gz
gnu: Add rust-streaming-stats.
* gnu/packages/crates-io.scm (rust-streaming-stats): New variable.
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r--gnu/packages/crates-io.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index cb3ad99bf6..b54d87ea12 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1429,6 +1429,29 @@ crate.")
     (license (list license:asl2.0
                    license:expat))))
 
+(define-public rust-streaming-stats
+  (package
+    (name "rust-streaming-stats")
+    (version "0.2.2")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "streaming-stats" version))
+        (file-name (string-append name "-" version ".tar.gz"))
+        (sha256
+         (base32
+          "0l7xz4g6709s80zqpvlhrg0qhgz64r94cwhmfsg8xhabgznbp2px"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-num-traits" ,rust-num-traits))))
+    (home-page "https://github.com/BurntSushi/rust-stats")
+    (synopsis "Compute basic statistics on streams")
+    (description
+     "Experimental crate for computing basic statistics on streams.")
+    (license (list license:unlicense
+                   license:expat))))
+
 (define-public rust-strsim
   (package
     (name "rust-strsim")