Subject: [bug#64840] [PATCH 03/12] gnu: Add ghc-aeson-2.1.

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

* gnu/packages/haskell-web.scm (ghc-aeson-2.1): New variable.
---
 gnu/packages/haskell-web.scm | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm
index 6c6122299d..967ff77eec 100644
--- a/gnu/packages/haskell-web.scm
+++ b/gnu/packages/haskell-web.scm
@@ -977,6 +977,22 @@ (define-public ghc-aeson
 naming: in Greek mythology, Aeson was the father of Jason.)")
     (license license:bsd-3)))
 
+(define-public ghc-aeson-2.1
+  (package
+    (inherit ghc-aeson)
+    (version "2.1.2.1")
+    (source (origin
+              (method url-fetch)
+              (uri (hackage-uri "aeson" version))
+              (sha256
+               (base32
+                "1ii26lz9czxqhck11pzhqlhfhm9zgbrhiydv4gh1w66f0fwl4h2x"))))
+    (inputs (modify-inputs (package-inputs ghc-aeson)
+              (prepend ghc-generically)))
+    (arguments
+     `(#:cabal-revision ("1"
+                         "1yiib3ay9961pzs1bb09waw40qkk8w74553bwjp5gkym3dk3q3zi")))))
+
 (define-public ghc-aeson-pretty
   (package
     (name "ghc-aeson-pretty")
-- 
2.41.0