diff options
author | jgart <jgart@dismail.de> | 2022-12-06 16:59:46 -0600 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2023-01-11 10:44:56 +0000 |
commit | a8b2decf287498eeb51ef23712c5bd01b60cb18b (patch) | |
tree | c311b947ed1e804d369c0efc9ffdacb1d876591a | |
parent | 09cd488c973c2ea27cfa2224489aca317f596341 (diff) | |
download | guix-a8b2decf287498eeb51ef23712c5bd01b60cb18b.tar.gz |
gnu: Add ghc-parsec.
* gnu/packages/haskell-xyz.scm (ghc-parsec): New variable. Signed-off-by: Christopher Baines <mail@cbaines.net>
-rw-r--r-- | gnu/packages/haskell-xyz.scm | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 2b92600806..79b4ae7bed 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -9215,6 +9215,30 @@ building up, manipulating and serialising @code{Pandoc} structures.") "This package provides a library for parallel programming.") (license license:bsd-3))) +(define-public ghc-parsec + (package + (name "ghc-parsec") + (version "3.1.14.0") + (source (origin + (method url-fetch) + (uri (hackage-uri "parsec" version)) + (sha256 + (base32 + "132waj2cpn892midbhpkfmb74qq83v0zv29v885frlp1gvh94b67")))) + (build-system haskell-build-system) + (native-inputs (list ghc-hunit ghc-test-framework ghc-test-framework-hunit)) + (arguments + `(#:cabal-revision + ("4" "0p65q054iaz2117a5qk1428dic4sb41acclys9k00zna24ks7iq3"))) + (home-page "https://github.com/haskell/parsec") + (synopsis "Monadic parser combinators") + (description "Parsec is designed from scratch as an industrial-strength +parser library. It is simple, safe, well documented (on the package +homepage), has extensive libraries, good error messages, and is fast. It is +defined as a monad transformer that can be stacked on arbitrary monads, and it +is also parametric in the input stream type.") + (license license:bsd-3))) + (define-public ghc-parsec-numbers (package (name "ghc-parsec-numbers") |