From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul van der Walt Subject: [PATCH 04/21] gnu: Add ghc-alex. Date: Fri, 16 Oct 2015 15:11:48 +0200 Message-ID: <1445001125-20534-4-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]:34348) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zn4nw-0004LO-6o for guix-devel@gnu.org; Fri, 16 Oct 2015 09:12:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zn4nt-0002Mv-5Y for guix-devel@gnu.org; Fri, 16 Oct 2015 09:12:16 -0400 Received: from mx01.mykolab.com ([95.128.36.1]:63895 helo=mx-out01.mykolab.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zn4ns-0002MI-Un for guix-devel@gnu.org; Fri, 16 Oct 2015 09:12:13 -0400 Received: from mx03.mykolab.com (mx03.mykolab.com [10.20.7.101]) by mx-out01.mykolab.com (Postfix) with ESMTPS id 50F0F62F8E for ; Fri, 16 Oct 2015 15:12:11 +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-alex): 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 60bbb41..6c5833c 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -497,6 +497,35 @@ are no options for manipulating the reflected expressions beyond showing them.") (license bsd-3))) +(define-public ghc-alex + (package + (name "ghc-alex") + (version "3.1.4") + (source + (origin + (method url-fetch) + (uri (string-append + "http://hackage.haskell.org/package/alex/alex-" + version + ".tar.gz")) + (sha256 + (base32 + "17x13nbbr79xgdlzywjqw19vcl6iygjnssjnxnajgijkv764wknn")))) + (build-system haskell-build-system) + (arguments `(#:tests? #f)) ; FIXME: Tests broken for GHC 7.10. Fixed + ; upstream, see + ; + (inputs `(("ghc-quickcheck" ,ghc-quickcheck))) + (home-page "http://www.haskell.org/alex/") + (synopsis + "Tool for generating lexical analysers in Haskell") + (description + "Alex is a tool for generating lexical analysers in Haskell. It takes a +description of tokens based on regular expressions and generates a Haskell +module containing code for scanning text efficiently. It is similar to the +tool lex or flex for C/C++.") + (license bsd-3))) + (define-public ghc-cmdargs (package (name "ghc-cmdargs") -- 2.6.1