Subject: [PATCH 118/156] gnu: Add rust-sketches-ddsketch-0.2.

From: Wilko Meyer <[email-masked]>
Date: Mon, 8 Jan 2024 02:53:35 +0100

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

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 77fdee66b4c..ad44443f7d1 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -68516,6 +68516,28 @@ (define-public rust-sized-chunks-0.6
 designed for @code{immutable.rs}.")
     (license license:mpl2.0)))
 
+(define-public rust-sketches-ddsketch-0.2
+  (package
+    (name "rust-sketches-ddsketch")
+    (version "0.2.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "sketches-ddsketch" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1q873ja2yvvls9327a7yw1mcprw0ia2cjj72snfg5mrfi30hd938"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-serde" ,rust-serde-1))))
+    (home-page "https://github.com/mheffner/rust-sketches-ddsketch")
+    (synopsis "A direct port of the Golang DDSketch implementation.
+")
+    (description
+     "This package provides a direct port of the Golang DDSketch implementation.")
+    (license license:asl2.0)))
+
 (define-public rust-skeptic-0.13
   (package
     (name "rust-skeptic")
-- 
2.41.0