Subject: [bug#70146] [PATCH 056/147] gnu: Add rust-slice-group-by-0.3.

From: Jean-Pierre De Jesus DIAZ <[email-masked]>
Date: Tue, 2 Apr 2024 18:04:08 +0200

* gnu/packages/crates-io.scm (rust-slice-group-by-0.3): New variable.

Change-Id: I25099b0858e6b6f535db8a172f668e411fc7cea9
---
 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 65f1b52e6b..f5c90790f5 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -62968,6 +62968,28 @@ (define-public rust-slice-deque-0.2
         ("rust-mach" ,rust-mach-0.2)
         ("rust-winapi" ,rust-winapi-0.3))))))
 
+(define-public rust-slice-group-by-0.3
+  (package
+    (name "rust-slice-group-by")
+    (version "0.3.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "slice-group-by" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "19vbyyxqvc25fv2dmhlxijlk5sa9j34yb6hyydb9vf89kh36fqc2"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t))
+    (home-page "https://github.com/Kerollmops/slice-group-by")
+    (synopsis "Iterate over groups in slices and strings")
+    (description "This package provieds a library implementing the
+@code{groupBy} function from Haskell providing tools to iterate slices and
+@code{str}s groups defined by a function that specifies if two elements are
+in the same group.")
+    (license license:expat)))
+
 (define-public rust-slog-2
   (package
     (name "rust-slog")
-- 
2.41.0