* gnu/packages/haskell.scm (ghc-regex-posix): New variable.
---
gnu/packages/haskell.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index e6c2b54..e75af99 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -1706,6 +1706,29 @@ IPv4 and IPv6 are supported.")
"Interface API for regex-posix, pcre, parsec, tdfa, dfa.")
(license bsd-3)))
+(define-public ghc-regex-posix
+ (package
+ (name "ghc-regex-posix")
+ (version "0.95.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "http://hackage.haskell.org/package/regex-posix/regex-posix-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "0gkhzhj8nvfn1ija31c7xnl6p0gadwii9ihyp219ck2arlhrj0an"))))
+ (build-system haskell-build-system)
+ (inputs `(("ghc-regex-base" ,ghc-regex-base)))
+ (home-page
+ "http://sourceforge.net/projects/lazy-regex")
+ (synopsis "Replaces/Enhances Text.Regex")
+ (description
+ "The posix regex backend for regex-base.")
+ (license bsd-3)))
+
(define-public ghc-regex-tdfa-rc
(package
(name "ghc-regex-tdfa-rc")
--
2.6.1