Subject: [bug#38423] [PATCH 21/49] gnu: Add ghc-data-endian.

From: Robert Vollmert <[email-masked]>
Date: Fri, 29 Nov 2019 12:37:23 +0100

* gnu/packages/haskell-xyz.scm (ghc-data-endian): New variable.
---
 gnu/packages/haskell-xyz.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 0b40ec6c6b..5f90fc1551 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -13604,3 +13604,24 @@ Haskell for attaching typeclass instances.")
 fixed-length binary word data types.  Signed and unsigned
 96, 128, 160, 192, 224, and 256-bit types are predefined.")
     (license license:bsd-3)))
+
+(define-public ghc-data-endian
+  (package
+    (name "ghc-data-endian")
+    (version "0.1.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://hackage.haskell.org/package/data-endian/data-endian-"
+             version
+             ".tar.gz"))
+       (sha256
+        (base32
+         "1h1abz87nha7cpw50yvf8fwvcca350wnnz2d3z9k30sg6wq4y7cc"))))
+    (build-system haskell-build-system)
+    (home-page "https://github.com/mvv/data-endian")
+    (synopsis "Endian-sensitive data")
+    (description
+     "This package provides helpers for converting endian-sensitive data.")
+    (license license:bsd-3)))
-- 
2.21.0 (Apple Git-122.2)