aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorPaul van der Walt <paul@denknerd.org>2015-10-15 15:36:26 +0200
committerPaul van der Walt <paul@denknerd.org>2015-10-23 09:10:52 +0200
commitce78a0f50c30f709c5d35dd44657542f9f08496d (patch)
treedd6491f743c267bbe173ff4f9429293e12e14da3 /gnu
parent40b56b52914bd53e714d401844f96d8b75881498 (diff)
downloadpatches-ce78a0f50c30f709c5d35dd44657542f9f08496d.tar
patches-ce78a0f50c30f709c5d35dd44657542f9f08496d.tar.gz
gnu: Add HScolour.
* gnu/packages/haskell.scm (hscolour): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/haskell.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index dc53fb989a..8c70c7d301 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -1297,6 +1297,30 @@ parser isolation, and labeled blocks for better error messages.")
(description "This library provides @code{Comonad}s for Haskell.")
(license bsd-3)))
+(define-public hscolour
+ (package
+ (name "hscolour")
+ (version "1.23")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "http://hackage.haskell.org/package/hscolour/hscolour-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "1c4i2zpami8g3w9949nm3f92g7xwh5c94vkx658zz7ihrjp7w5lp"))))
+ (build-system haskell-build-system)
+ (home-page "https://hackage.haskell.org/package/hscolour")
+ (synopsis "Script to colourise Haskell code")
+ (description "HSColour is a small Haskell script to colourise Haskell
+code. It currently has six output formats: ANSI terminal codes (optionally
+XTerm-256colour codes), HTML 3.2 with font tags, HTML 4.01 with CSS, HTML 4.01
+with CSS and mouseover annotations, XHTML 1.0 with inline CSS styling, LaTeX,
+and mIRC chat codes.")
+ (license bsd-3)))
+
(define-public ghc-appar
(package
(name "ghc-appar")