[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
134/151: gnu: Add ghc-alex.
From: |
Paul |
Subject: |
134/151: gnu: Add ghc-alex. |
Date: |
Mon, 19 Oct 2015 08:58:59 +0000 |
toothbrush pushed a commit to branch wip-haskell-platform-7.10.2-a
in repository guix.
commit cd0fabac1e4444e0dc76adbbfe72176934c0fda4
Author: Paul van der Walt <address@hidden>
Date: Fri Oct 16 11:06:14 2015 +0200
gnu: Add ghc-alex.
* gnu/packages/haskell.scm (ghc-alex): New variable.
---
gnu/packages/haskell.scm | 29 +++++++++++++++++++++++++++++
1 files changed, 29 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index eb11704..9736225 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
+ ; <https://github.com/simonmar/alex/issues/62>
+ (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")
- 125/151: gnu: Add ghc-vector-binary-instances., (continued)
- 125/151: gnu: Add ghc-vector-binary-instances., Paul, 2015/10/19
- 127/151: gnu: Add ghc-lens., Paul, 2015/10/19
- 129/151: gnu: Add ghc-trifecta., Paul, 2015/10/19
- 128/151: gnu: Add ghc-cheapskate., Paul, 2015/10/19
- 126/151: gnu: Add ghc-kan-extensions., Paul, 2015/10/19
- 130/151: gnu: Add Idris, the dependently-typed language., Paul, 2015/10/19
- 132/151: gnu: Add ghc-haddock-api., Paul, 2015/10/19
- 133/151: gnu: Add ghc-haddock., Paul, 2015/10/19
- 131/151: gnu: Add ghc-haddock-library., Paul, 2015/10/19
- 135/151: gnu: Add ghc-multipart., Paul, 2015/10/19
- 134/151: gnu: Add ghc-alex.,
Paul <=
- 137/151: gnu: Add ghc-html., Paul, 2015/10/19
- 136/151: gnu: Add ghc-cgi., Paul, 2015/10/19
- 139/151: gnu: Add ghc-xhtml., Paul, 2015/10/19
- 142/151: gnu: Add ghc-half., Paul, 2015/10/19
- 140/151: gnu: Add ghc-regex-posix., Paul, 2015/10/19
- 138/151: gnu: Add ghc-haskell-src., Paul, 2015/10/19
- 144/151: gnu: Add ghc-gluraw., Paul, 2015/10/19
- 143/151: gnu: Add ghc-openglraw., Paul, 2015/10/19
- 146/151: gnu: Add ghc-opengl., Paul, 2015/10/19
- 145/151: gnu: Add ghc-objectname., Paul, 2015/10/19