[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
121/154: gnu: Add ghc-parsers.
From: |
Paul |
Subject: |
121/154: gnu: Add ghc-parsers. |
Date: |
Fri, 23 Oct 2015 07:14:59 +0000 |
toothbrush pushed a commit to branch master
in repository guix.
commit e372520ec3a6b6a091d12a82291d505c1bb9b5bd
Author: Paul van der Walt <address@hidden>
Date: Thu Oct 15 16:43:40 2015 +0200
gnu: Add ghc-parsers.
* gnu/packages/haskell.scm (ghc-parsers): New variable.
---
gnu/packages/haskell.scm | 35 +++++++++++++++++++++++++++++++++++
1 files changed, 35 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 19fc409..1aa39ea 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -1443,6 +1443,41 @@ regex-posix, regex-pcre, regex-parsec, regex-tdfa,
regex-dfa.")
@code{libtre} (fork by Roman Cheplyaka).")
(license bsd-3)))
+(define-public ghc-parsers
+ (package
+ (name "ghc-parsers")
+ (version "0.12.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "http://hackage.haskell.org/package/parsers/parsers-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "18wzmp8y3py4qa8hdsxqm0jfzmwy744dw7xa48r5s8ynhpimi462"))))
+ (build-system haskell-build-system)
+ (arguments `(#:tests? #f)) ; FIXME: Test fails with "cannot satisfy
+ ; -package attoparsec-0.13.0.1"
+ (propagated-inputs
+ `(("ghc-base-orphans" ,ghc-base-orphans)
+ ("ghc-attoparsec" ,ghc-attoparsec)
+ ("ghc-parsec" ,ghc-parsec)
+ ("ghc-scientific" ,ghc-scientific)
+ ("ghc-charset" ,ghc-charset)))
+ (inputs
+ `(("ghc-text" ,ghc-text)
+ ("ghc-unordered-containers" ,ghc-unordered-containers)))
+ (home-page "http://github.com/ekmett/parsers/")
+ (synopsis "Parsing combinators")
+ (description "This library provides convenient combinators for working
+with and building parsing combinator libraries. Given a few simple instances,
+you get access to a large number of canned definitions. Instances exist for
+the parsers provided by @code{parsec}, @code{attoparsec} and @code{base}'s
address@hidden")
+ (license bsd-3)))
+
(define-public ghc-attoparsec
(package
(name "ghc-attoparsec")
- 112/154: gnu: Add ghc-simple-reflect., (continued)
- 112/154: gnu: Add ghc-simple-reflect., Paul, 2015/10/23
- 111/154: gnu: Add ghc-adjunctions., Paul, 2015/10/23
- 114/154: gnu: Add ghc-cmdargs., Paul, 2015/10/23
- 113/154: gnu: Add cpphs., Paul, 2015/10/23
- 115/154: gnu: Add ghc-happy., Paul, 2015/10/23
- 116/154: gnu: Add ghc-haskell-src-exts., Paul, 2015/10/23
- 117/154: gnu: Add hlint., Paul, 2015/10/23
- 118/154: gnu: Add ghc-resourcet., Paul, 2015/10/23
- 120/154: gnu: Add ghc-xss-sanitize., Paul, 2015/10/23
- 119/154: gnu: Add ghc-streaming-commons., Paul, 2015/10/23
- 121/154: gnu: Add ghc-parsers.,
Paul <=
- 122/154: gnu: Add ghc-cookie., Paul, 2015/10/23
- 124/154: gnu: Add ghc-wai-logger., Paul, 2015/10/23
- 123/154: gnu: Add ghc-wai., Paul, 2015/10/23
- 126/154: gnu: Add ghc-vector-binary-instances., Paul, 2015/10/23
- 125/154: gnu: Add ghc-wai-extra., Paul, 2015/10/23
- 129/154: gnu: Add ghc-cheapskate., Paul, 2015/10/23
- 130/154: gnu: Add ghc-trifecta., Paul, 2015/10/23
- 132/154: gnu: Add ghc-haddock-library., Paul, 2015/10/23
- 127/154: gnu: Add ghc-kan-extensions., Paul, 2015/10/23
- 128/154: gnu: Add ghc-lens., Paul, 2015/10/23