Subject: bug#57666: closed (Re: [bug#57666] [PATCH] gnu: Add ghc-ansi2html.)

From: [email-masked] (GNU bug Tracking System)
Date: Mon, 12 Sep 2022 13:34:02 +0000

Your bug report

#57666: [PATCH] gnu: Add ghc-ansi2html.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
57666: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=57666
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#57666] [PATCH] gnu: Add ghc-ansi2html.
From: Christopher Baines <[email-masked]>
To: jgart <[email-masked]>
Cc: [email-masked]
Date: Mon, 12 Sep 2022 14:32:45 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

jgart via Guix-patches via <[email-masked]> writes:

> * gnu/packages/haskell-xyz.scm (ghc-ansi2html): New variable.
> ---
>  gnu/packages/haskell-xyz.scm | 18 ++++++++++++++++++
>  1 file changed, 18 insertions(+)

Thanks, I've pushed this to master as
25d88eb9f3e22816180c099502a3a919bbe602f6.

Chris

Subject: [PATCH] gnu: Add ghc-ansi2html.
From: jgart <[email-masked]>
To: [email-masked]
Cc: jgart <[email-masked]>
Date: Wed, 7 Sep 2022 22:29:54 -0500
List-Id: <debbugs-submit.debbugs.gnu.org>

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

diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index a01248f355..85291896cc 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -16099,6 +16099,24 @@ (define-public ghc-dec
 @end example")
     (license license:bsd-3)))
 
+(define-public ghc-ansi2html
+  (package
+    (name "ghc-ansi2html")
+    (version "0.9")
+    (source (origin
+              (method url-fetch)
+              (uri (hackage-uri "Ansi2Html" version))
+              (sha256
+               (base32
+                "1dqq1rnx1w0cn4w11knmxvn7qy4lg4m39dgw4rs6r2pjqzgrwarh"))))
+    (build-system haskell-build-system)
+    (home-page "http://janzzstimmpfle.de/~jens/software/Ansi2Html/")
+    (synopsis "Convert ANSI Terminal Sequences to nice HTML markup")
+    (description
+"This package enables integration of terminal screen state in html
+pages.")
+    (license license:bsd-3)))
+
 (define-public ghc-singleton-bool
   (package
     (name "ghc-singleton-bool")
-- 
2.37.3