rekado pushed a commit to branch master
in repository guix.
commit b9a64a367143e8a230ab32ea1c70a8b774ae5a66
Author: Ricardo Wurmus <[email protected]>
Date: Mon Feb 12 21:27:21 2018 +0100
gnu: Add ghc-haskell-lexer.
* gnu/packages/haskell.scm (ghc-haskell-lexer): New variable.
---
gnu/packages/haskell.scm | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index b271858..bd3ebae 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -926,6 +926,26 @@ specification in BNF, Happy generates Haskell code to
parse the grammar.
Happy works in a similar way to the yacc tool for C.")
(license license:bsd-3)))
+(define-public ghc-haskell-lexer
+ (package
+ (name "ghc-haskell-lexer")
+ (version "1.0.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://hackage.haskell.org/package/haskell-lexer/haskell-lexer-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "0rj3r1pk88hh3sk3mj61whp8czz5kpxhbc78xlr04bxwqjrjmm6p"))))
+ (build-system haskell-build-system)
+ (home-page "http://hackage.haskell.org/package/haskell-lexer")
+ (synopsis "Fully compliant Haskell 98 lexer")
+ (description
+ "This package provides a fully compliant Haskell 98 lexer.")
+ (license license:bsd-3)))
+
(define-public ghc-haskell-src-exts
(package
(name "ghc-haskell-src-exts")