Subject: [bug#64840] [PATCH 04/12] gnu: Add ghc-data-array-byte.

From: Distopico <[email-masked]>
Date: Mon, 24 Jul 2023 15:23:06 -0500

* gnu/packages/haskell-xyz.scm (ghc-data-array-byte): New variable.
---
 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 71df4192dc..4be7bd970c 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -33,6 +33,7 @@
 ;;; Copyright © 2022 jgart <[email-masked]>
 ;;; Copyright © 2023 Josselin Poiret <[email-masked]>
 ;;; Copyright © 2023 zamfofex <[email-masked]>
+;;; Copyright © 2023 Camilo Q.S. (Distopico) <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -2612,6 +2613,28 @@ (define-public ghc-csv
 lingua franca for spreadsheets, and for certain web services.")
     (license license:expat)))
 
+(define-public ghc-data-array-byte
+  (package
+    (name "ghc-data-array-byte")
+    (version "0.1.0.1")
+    (source (origin
+              (method url-fetch)
+              (uri (hackage-uri "data-array-byte" version))
+              (sha256
+               (base32
+                "002n0af7q08q3fmgsc5b47s1clirxy0lrqglwxzhabg0nfhfrdhv"))))
+    (build-system haskell-build-system)
+    (properties '((upstream-name . "data-array-byte")))
+    (native-inputs (list ghc-tasty ghc-tasty-quickcheck
+                         ghc-quickcheck-classes-base))
+    (home-page "https://hackage.haskell.org/package/data-array-byte")
+    (synopsis "Haskell compatibility layer for Data.Array.Byte")
+    (description
+     "This package provides Haskell compatibility layer for @code{Data.Array.Byte},
+providing boxed wrappers for @code{ByteArray} and @code{MutableByteArray} and relevant
+instances for GHC < 9.4.")
+    (license license:bsd-3)))
+
 (define-public ghc-data-accessor
   (package
     (name "ghc-data-accessor")
-- 
2.41.0