guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

101/151: gnu: Add ghc-hscolour.


From: Paul
Subject: 101/151: gnu: Add ghc-hscolour.
Date: Mon, 19 Oct 2015 08:58:26 +0000

toothbrush pushed a commit to branch wip-haskell-platform-7.10.2-a
in repository guix.

commit 4ee2866253ab4c9be390edaf6ece09e1538e9ed9
Author: Paul van der Walt <address@hidden>
Date:   Thu Oct 15 15:36:26 2015 +0200

    gnu: Add ghc-hscolour.
    
    * gnu/packages/haskell.scm (ghc-hscolour): New variable.
---
 gnu/packages/haskell.scm |   25 +++++++++++++++++++++++++
 1 files changed, 25 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index c65d74d..d223437 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -1342,6 +1342,31 @@ for better error messages.")
     (description "Comonads library for Haskell.")
     (license bsd-3)))
 
+(define-public ghc-hscolour
+  (package
+    (name "ghc-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
+     "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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]