diff options
| author | Paul van der Walt <paul@denknerd.org> | 2015-10-22 13:14:55 +0200 |
|---|---|---|
| committer | Paul van der Walt <paul@denknerd.org> | 2015-10-23 09:10:52 +0200 |
| commit | 81da1a45e80d9a71fb69d2e61ba5aab7dee4149d (patch) | |
| tree | c5cf0dcab218f948e0d8266c87ff4cdedd1001c4 /gnu/packages | |
| parent | 0ba563643ebcae725a73ee1986e3c3002a389755 (diff) | |
gnu: Add ghc-happy.
* gnu/packages/haskell.scm (ghc-happy): New variable.
Diffstat (limited to 'gnu/packages')
| -rw-r--r-- | 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 300469f93bc..930df4a7859 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm | |||
| @@ -435,6 +435,32 @@ them.") | |||
| 435 | "This library provides an easy way to define command line parsers.") | 435 | "This library provides an easy way to define command line parsers.") |
| 436 | (license bsd-3))) | 436 | (license bsd-3))) |
| 437 | 437 | ||
| 438 | (define-public ghc-happy | ||
| 439 | (package | ||
| 440 | (name "ghc-happy") | ||
| 441 | (version "1.19.5") | ||
| 442 | (source | ||
| 443 | (origin | ||
| 444 | (method url-fetch) | ||
| 445 | (uri (string-append | ||
| 446 | "http://hackage.haskell.org/package/happy/happy-" | ||
| 447 | version | ||
| 448 | ".tar.gz")) | ||
| 449 | (sha256 | ||
| 450 | (base32 | ||
| 451 | "1nj353q4z1g186fpjzf0dnsg71qhxqpamx8jy89rjjvv3p0kmw32")))) | ||
| 452 | (build-system haskell-build-system) | ||
| 453 | (arguments `(#:tests? #f)) ;; cannot satisfy -package mtl. Possible Cabal | ||
| 454 | ;; issue. | ||
| 455 | (propagated-inputs | ||
| 456 | `(("ghc-mtl" ,ghc-mtl))) | ||
| 457 | (home-page "https://hackage.haskell.org/package/happy") | ||
| 458 | (synopsis "Parser generator for Haskell") | ||
| 459 | (description "Happy is a parser generator for Haskell. Given a grammar | ||
| 460 | specification in BNF, Happy generates Haskell code to parse the grammar. | ||
| 461 | Happy works in a similar way to the yacc tool for C.") | ||
| 462 | (license bsd-3))) | ||
| 463 | |||
| 438 | (define-public cpphs | 464 | (define-public cpphs |
| 439 | (package | 465 | (package |
| 440 | (name "cpphs") | 466 | (name "cpphs") |
