[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
115/154: gnu: Add ghc-happy.
From: |
Paul |
Subject: |
115/154: gnu: Add ghc-happy. |
Date: |
Thu, 22 Oct 2015 16:15:54 +0000 |
toothbrush pushed a commit to branch wip-haskell-platform-7.10.2-a
in repository guix.
commit b8cff0b26581f5602ee7b53d110422de03efa043
Author: Paul van der Walt <address@hidden>
Date: Thu Oct 22 13:14:55 2015 +0200
gnu: Add ghc-happy.
* gnu/packages/haskell.scm (ghc-happy): New variable.
---
gnu/packages/haskell.scm | 26 ++++++++++++++++++++++++++
1 files changed, 26 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 3169363..35ec477 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -435,6 +435,32 @@ them.")
"This library provides an easy way to define command line parsers.")
(license bsd-3)))
+(define-public ghc-happy
+ (package
+ (name "ghc-happy")
+ (version "1.19.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "http://hackage.haskell.org/package/happy/happy-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "1nj353q4z1g186fpjzf0dnsg71qhxqpamx8jy89rjjvv3p0kmw32"))))
+ (build-system haskell-build-system)
+ (arguments `(#:tests? #f)) ;; cannot satisfy -package mtl. Possible Cabal
+ ;; issue.
+ (propagated-inputs
+ `(("ghc-mtl" ,ghc-mtl)))
+ (home-page "https://hackage.haskell.org/package/happy")
+ (synopsis "Parser generator for Haskell")
+ (description "Happy is a parser generator for Haskell. Given a grammar
+specification in BNF, Happy generates Haskell code to parse the grammar.
+Happy works in a similar way to the yacc tool for C.")
+ (license bsd-3)))
+
(define-public cpphs
(package
(name "cpphs")
- 100/154: gnu: Add ghc-distributive., (continued)
- 100/154: gnu: Add ghc-distributive., Paul, 2015/10/22
- 95/154: gnu: Add ghc-attoparsec., Paul, 2015/10/22
- 103/154: gnu: Add ghc-polyparse., Paul, 2015/10/22
- 106/154: gnu: Add ghc-semigroupoids., Paul, 2015/10/22
- 101/154: gnu: Add ghc-comonad., Paul, 2015/10/22
- 97/154: gnu: Add ghc-css-text., Paul, 2015/10/22
- 91/154: gnu: Add ghc-smallcheck., Paul, 2015/10/22
- 105/154: gnu: Add ghc-profunctors., Paul, 2015/10/22
- 104/154: gnu: Add ghc-extra., Paul, 2015/10/22
- 113/154: gnu: Add cpphs., Paul, 2015/10/22
- 115/154: gnu: Add ghc-happy.,
Paul <=
- 98/154: gnu: Add ghc-zip-archive., Paul, 2015/10/22
- 99/154: gnu: Add ghc-cereal., Paul, 2015/10/22
- 107/154: gnu: Add ghc-reducers., Paul, 2015/10/22
- 108/154: gnu: Add ghc-reflection., Paul, 2015/10/22
- 111/154: gnu: Add ghc-adjunctions., Paul, 2015/10/22
- 118/154: gnu: Add ghc-resourcet., Paul, 2015/10/22
- 119/154: gnu: Add ghc-streaming-commons., Paul, 2015/10/22
- 110/154: gnu: Add ghc-free., Paul, 2015/10/22
- 109/154: gnu: Add ghc-prelude-extras., Paul, 2015/10/22
- 114/154: gnu: Add ghc-cmdargs., Paul, 2015/10/22