summary refs log tree commit diff
path: root/gnu/packages/haskell.scm
diff options
context:
space:
mode:
authorng0 <ng0@we.make.ritual.n0.is>2016-09-18 16:09:47 +0000
committerLeo Famulari <leo@famulari.name>2016-09-22 20:09:52 -0400
commitd58dc851f97d950f847bccdfafce0f8c4177fc4e (patch)
treebf54aa119f7bc2c68cb4cce992d43d7b94db2e31 /gnu/packages/haskell.scm
parent1a0dbf0ded3991e655fdd223234409bbc8454792 (diff)
downloadguix-d58dc851f97d950f847bccdfafce0f8c4177fc4e.tar.gz
gnu: Add ghc-regex-applicative.
* gnu/packages/haskell.scm (ghc-regex-applicative): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
Diffstat (limited to 'gnu/packages/haskell.scm')
-rw-r--r--gnu/packages/haskell.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 342babf8f2..432d901d44 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -6563,4 +6563,30 @@ is written in Haskell it is (hopefully) more easily used in other Haskell
 programs.")
     (license license:bsd-3)))
 
+(define-public ghc-regex-applicative
+  (package
+    (name "ghc-regex-applicative")
+    (version "0.3.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://hackage.haskell.org/package/regex-applicative/"
+             "regex-applicative-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1riv7jqf26lbv4rm54sd6mrx8xdh4dvh4xbzymzdfdw13k6a4nb6"))))
+    (build-system haskell-build-system)
+    (inputs
+     `(("ghc-smallcheck" ,ghc-smallcheck)
+       ("ghc-tasty" ,ghc-tasty)
+       ("ghc-tasty-smallcheck" ,ghc-tasty-smallcheck)
+       ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
+    (home-page "https://github.com/feuerbach/regex-applicative")
+    (synopsis "Regex-based parsing with applicative interface")
+    (description
+     "@code{regex-applicative} is a Haskell library for parsing using
+regular expressions.  Parsers can be built using Applicative interface.")
+    (license license:expat)))
+
 ;;; haskell.scm ends here