guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 095/105] gnu: Add ghc-parsers.


From: Paul van der Walt
Subject: [PATCH 095/105] gnu: Add ghc-parsers.
Date: Thu, 15 Oct 2015 17:36:08 +0200

* gnu/packages/haskell.scm (ghc-parsers): New variable.
---
 gnu/packages/haskell.scm | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 57ae4ef..ebb07e0 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -1492,6 +1492,43 @@ IPv4 and IPv6 are supported.")
 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))
+    (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)
+       ("ghc-doctest" ,ghc-doctest)
+       ("ghc-quickcheck" ,ghc-quickcheck)
+       ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)))
+    (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 parsec, attoparsec and base's Text.Read.")
+    (license bsd-3)))
+
 (define-public ghc-attoparsec
   (package
     (name "ghc-attoparsec")
-- 
2.6.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]