* gnu/packages/haskell.scm (ghc-annotated-wl-pprint: New variable.
* gnu/packages/haskell.scm (ghc-ansi-wl-pprint: New variable.
---
gnu/packages/haskell.scm | 50 ++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 50 insertions(+)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index e0fdf1f..1c440ef 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -1402,6 +1402,56 @@ optimized for performance critical use, both in terms of
large data quantities
and high speed.")
(license bsd-3)))
+(define-public ghc-annotated-wl-pprint
+ (package
+ (name "ghc-annotated-wl-pprint")
+ (version "0.7.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "http://hackage.haskell.org/package/annotated-wl-pprint"
+ "/annotated-wl-pprint-" version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "061xfz6qany3wf95csl8dcik2pz22cn8iv1qchhm16isw5zjs9hc"))))
+ (build-system haskell-build-system)
+ (home-page
+ "https://github.com/david-christiansen/annotated-wl-pprint")
+ (synopsis
+ "The Wadler/Leijen Pretty Printer, with annotation support")
+ (description "This is a modified version of wl-pprint, which was based on
+Wadler's paper \"A Prettier Printer\". This version allows the library user
+to annotate the text with semantic information, which can later be rendered in
+a variety of ways.")
+ (license bsd-3)))
+
+(define-public ghc-ansi-wl-pprint
+ (package
+ (name "ghc-ansi-wl-pprint")
+ (version "0.6.7.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+
"http://hackage.haskell.org/package/ansi-wl-pprint/ansi-wl-pprint-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "025pyphsjf0dnbrmj5nscbi6gzyigwgp3ifxb3psn7kji6mfr29p"))))
+ (build-system haskell-build-system)
+ (propagated-inputs
+ `(("ghc-ansi-terminal" ,ghc-ansi-terminal)))
+ (home-page "http://github.com/ekmett/ansi-wl-pprint")
+ (synopsis "The Wadler/Leijen Pretty Printer for colored ANSI
+terminal output")
+ (description "This is a pretty printing library based on Wadler's
+paper \"A Prettier Printer\". It has been enhanced with support for
+ANSI terminal colored output using the ansi-terminal package.")
+ (license bsd-3)))
+
(define-public ghc-split
(package
(name "ghc-split")
--
2.6.1