[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
135/154: gnu: Add ghc-alex.
From: |
Paul |
Subject: |
135/154: gnu: Add ghc-alex. |
Date: |
Thu, 22 Oct 2015 16:16:04 +0000 |
toothbrush pushed a commit to branch wip-haskell-platform-7.10.2-a
in repository guix.
commit 1dc67a7bdfb33b77242da02960d71305336b184f
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 7bf5fd9..6f91c39 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -494,6 +494,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")
- 109/154: gnu: Add ghc-prelude-extras., (continued)
- 109/154: gnu: Add ghc-prelude-extras., Paul, 2015/10/22
- 114/154: gnu: Add ghc-cmdargs., Paul, 2015/10/22
- 112/154: gnu: Add ghc-simple-reflect., Paul, 2015/10/22
- 116/154: gnu: Add ghc-haskell-src-exts., Paul, 2015/10/22
- 122/154: gnu: Add ghc-cookie., Paul, 2015/10/22
- 117/154: gnu: Add hlint., Paul, 2015/10/22
- 121/154: gnu: Add ghc-parsers., Paul, 2015/10/22
- 120/154: gnu: Add ghc-xss-sanitize., Paul, 2015/10/22
- 124/154: gnu: Add ghc-wai-logger., Paul, 2015/10/22
- 134/154: gnu: Add ghc-haddock., Paul, 2015/10/22
- 135/154: gnu: Add ghc-alex.,
Paul <=
- 130/154: gnu: Add ghc-trifecta., Paul, 2015/10/22
- 132/154: gnu: Add ghc-haddock-library., Paul, 2015/10/22
- 136/154: gnu: Add ghc-multipart., Paul, 2015/10/22
- 137/154: gnu: Add ghc-cgi., Paul, 2015/10/22
- 123/154: gnu: Add ghc-wai., Paul, 2015/10/22
- 131/154: gnu: Add Idris., Paul, 2015/10/22
- 125/154: gnu: Add ghc-wai-extra., Paul, 2015/10/22
- 127/154: gnu: Add ghc-kan-extensions., Paul, 2015/10/22
- 133/154: gnu: Add ghc-haddock-api., Paul, 2015/10/22
- 141/154: gnu: Add ghc-regex-posix., Paul, 2015/10/22