Patchwork [08/42] gnu: Add ghc-regex-tdfa.

login
register
mail settings
Submitter non such
Date Sept. 18, 2016, 4:09 p.m.
Message ID <20160918161022.26135-8-ng0@we.make.ritual.n0.is>
Download mbox | patch
Permalink /patch/15714/
State New
Headers show

Comments

non such - Sept. 18, 2016, 4:09 p.m.
* gnu/packages/haskell.scm (ghc-regex-tdfa): New variable.
---
 gnu/packages/haskell.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

Patch

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index b0cac3c..c04b069 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -6589,4 +6589,28 @@  programs.")
 regular expressions.  Parsers can be built using Applicative interface.")
     (license license:expat)))
 
+(define-public ghc-regex-tdfa
+  (package
+    (name "ghc-regex-tdfa")
+    (version "1.2.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://hackage.haskell.org/package/regex-tdfa/regex-tdfa-"
+             version ".tar.gz"))
+       (sha256
+        (base32
+         "0f8x8wyr6m21g8dnxvnvalz5bsq37l125l6qhs0fscbvprsxc4nb"))))
+    (build-system haskell-build-system)
+    (inputs
+     `(("ghc-mtl" ,ghc-mtl)
+       ("ghc-parsec" ,ghc-parsec)
+       ("ghc-regex-base" ,ghc-regex-base)))
+    (home-page "https://github.com/ChrisKuklewicz/regex-tdfa")
+    (synopsis "Replaces/Enhances Text.Regex")
+    (description
+     "A new all Haskell \"tagged\" DFA regex engine, inspired by libtre")
+    (license license:bsd-3)))
+
 ;;; haskell.scm ends here