From 3d8fdd26771708cd754f8591c5176a360a2bd9f7 Mon Sep 17 00:00:00 2001 From: jgart Date: Wed, 7 Sep 2022 22:29:54 -0500 Subject: [PATCH] gnu: Add ghc-ansi2html. * gnu/packages/haskell-xyz.scm (ghc-ansi2html): New variable. Signed-off-by: Christopher Baines --- 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 ea9e8e9c6d..db653f8c93 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -16100,6 +16100,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")