Subject: [PATCH 3/4] gnu: Add ghc-strings.

From: VÖRÖSKŐI András <[email-masked]>
Date: Mon, 13 Nov 2023 06:03:50 +0100

* gnu/packages/haskell-xyz.scm (ghc-strings): New variable.

Change-Id: Ia7df05ab2ff4c7e39d3f4105826658fcc27c24a2
---
 gnu/packages/haskell-xyz.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index d6d858f6e1..0b8fbb8cd2 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -11898,6 +11898,29 @@ (define-public ghc-string-qq
 and bytestrings.")
     (license license:public-domain)))
 
+(define-public ghc-strings
+  (package
+    (name "ghc-strings")
+    (version "1.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (hackage-uri "strings" version))
+       (sha256
+        (base32 "1xz9v3w5s13yhk7iy9dw6i8s2jc6c0b1ci96dwmcq9a1n3l3ng4v"))))
+    (build-system haskell-build-system)
+    (properties '((upstream-name . "strings")))
+    (arguments
+     `(#:cabal-revision ("1"
+                         "0jk1g71yzc5wpkr3vvhnxak61nqvisc5n90ggv6lmz4wqpqzdd0v")))
+    (home-page "https://hackage.haskell.org/package/strings/docs/Data-Strings.html")
+    (synopsis
+     "Functions for working with strings, including Text, ByteString, etc.")
+    (description
+     "This package provides various functions for working with strings, such as
+@code{join}, @code{split}, @code{toUppercase}, etc.")
+    (license license:expat)))
+
 (define-public ghc-stringsearch
   (package
     (name "ghc-stringsearch")
-- 
2.41.0