From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul van der Walt Subject: [PATCH 08/21] gnu: Add ghc-haskell-src. Date: Fri, 16 Oct 2015 15:11:52 +0200 Message-ID: <1445001125-20534-8-git-send-email-paul@denknerd.org> References: <1445001125-20534-1-git-send-email-paul@denknerd.org> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34420) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zn4ny-0004OZ-Gr for guix-devel@gnu.org; Fri, 16 Oct 2015 09:12:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zn4nx-0002QU-F5 for guix-devel@gnu.org; Fri, 16 Oct 2015 09:12:18 -0400 Received: from mx01.mykolab.com ([95.128.36.1]:53744 helo=mx-out02.mykolab.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zn4nx-0002PO-8f for guix-devel@gnu.org; Fri, 16 Oct 2015 09:12:17 -0400 Received: from mx03.mykolab.com (mx03.mykolab.com [10.20.7.101]) by mx-out02.mykolab.com (Postfix) with ESMTPS id 920E1636E2 for ; Fri, 16 Oct 2015 15:12:15 +0200 (CEST) In-Reply-To: <1445001125-20534-1-git-send-email-paul@denknerd.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 * gnu/packages/haskell.scm (ghc-haskell-src): New variable. --- gnu/packages/haskell.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index 7623ea9..acaccd0 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -544,6 +544,35 @@ them.") documents.") (license bsd-3))) +(define-public ghc-haskell-src + (package + (name "ghc-haskell-src") + (version "1.0.2.0") + (source + (origin + (method url-fetch) + (uri (string-append + "http://hackage.haskell.org/package/haskell-src/haskell-src-" + version + ".tar.gz")) + (sha256 + (base32 + "19lilhpwnjb7cks9fq1ipnc8f7dwxy0ri3dgjkdxs3i355byw99a")))) + (build-system haskell-build-system) + (inputs + `(("ghc-happy" ,ghc-happy) + ("ghc-syb" ,ghc-syb))) + (home-page + "http://hackage.haskell.org/package/haskell-src") + (synopsis + "Support for manipulating Haskell source code") + (description + "The 'haskell-src' package provides support for manipulating Haskell +source code. The package provides a lexer, parser and pretty-printer, and a +definition of a Haskell abstract syntax tree (AST). Common uses of this +package are to parse or generate Haskell 98 code.") + (license bsd-3))) + (define-public ghc-alex (package (name "ghc-alex") -- 2.6.1