Subject: Add ghc-pipes-group

From: WinterHound <[email-masked]>
Date: Tue, 1 Feb 2022 15:02:04 +0530

---
 gnu/packages/haskell-xyz.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 6a5f393fbb..34648b9998 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -9692,6 +9692,34 @@ (define-public ghc-pipes-parse
 @end enumerate\n")
     (license license:bsd-3)))
 
+(define-public ghc-pipes-group
+  (package
+    (name "ghc-pipes-group")
+    (version "1.0.12")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (hackage-uri "pipes-group" version))
+       (sha256
+        (base32 "1issfj3syi6lfbcdn3bhlbnlh86s92ldsb04c4ac69xipsgyhwqk"))))
+    (build-system haskell-build-system)
+    (inputs (list ghc-free ghc-pipes ghc-pipes-parse))
+    (native-inputs (list ghc-lens-family-core ghc-doctest))
+    (arguments
+     `(#:cabal-revision
+       ("5" "0hkh6s4n1sv83a8fzhryz9l229g9d59sxkh60fcn04jp2431335h")))
+    (home-page "http://hackage.haskell.org/package/pipes-group")
+    (synopsis "Group streams into substreams")
+    (description
+     "@code{pipes-group} uses @code{FreeT} and lenses to group streams into
+sub-streams.
+Notable features include:
+@enumerate
+@item Perfect Streaming: Group elements without collecting them into memory
+@item Lens Support: Use lenses to simplify many common operations
+@end enumerate\n")
+    (license license:bsd-3)))
+
 (define-public ghc-pointedlist
   (package
     (name "ghc-pointedlist")
-- 
2.34.0