From mboxrd@z Thu Jan 1 00:00:00 1970 From: ericbavier@openmailbox.org Subject: Re: [PATCH] gnu: Add ghc-hscolour. Date: Thu, 22 Oct 2015 03:47:33 -0500 Message-ID: <1445503671-30014-5-git-send-email-ericbavier@openmailbox.org> References: <1445483479-19104-1-git-send-email-ericbavier@openmailbox.org> <1445503671-30014-1-git-send-email-ericbavier@openmailbox.org> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51987) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpG81-0003n2-Mu for guix-devel@gnu.org; Thu, 22 Oct 2015 09:42:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZpG7v-0007vV-Bt for guix-devel@gnu.org; Thu, 22 Oct 2015 09:41:58 -0400 Received: from smtp5.openmailbox.org ([62.4.1.39]:33246) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpG7v-0007vE-65 for guix-devel@gnu.org; Thu, 22 Oct 2015 09:41:55 -0400 In-Reply-To: <1445503671-30014-1-git-send-email-ericbavier@openmailbox.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org, Paul van der Walt From: Eric Bavier > * gnu/packages/haskell.scm (ghc-hscolour): New variable. > --- > gnu/packages/haskell.scm | 24 ++++++++++++++++++++++++ > 1 file changed, 24 insertions(+) > > diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm > index 905471d..ebad06a 100644 > --- a/gnu/packages/haskell.scm > +++ b/gnu/packages/haskell.scm > @@ -1331,6 +1331,30 @@ for better error messages.") > (description "This library provides @code{Comonad}s for Haskell.") > (license bsd-3))) > > +(define-public ghc-hscolour > + (package > + (name "ghc-hscolour") I would suggest we name this package "hscolour" because it is primarily program or tool. It also has libraries; perhaps those could be put in a "lib" output? WDYT? `~Eric > + (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") > -- > 2.5.0 >