aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul van der Walt <paul@denknerd.org>2015-10-16 11:16:24 +0200
committerPaul van der Walt <paul@denknerd.org>2015-10-23 09:10:52 +0200
commite422279bbc5e4743ed7b99bbe060a52f86d9837a (patch)
tree87739c3596c98cbb0d6bff33fdbacadb0aafe70c
parent25eb1c2227daadf85b6c20e204c2109ca70becba (diff)
downloadguix-e422279bbc5e4743ed7b99bbe060a52f86d9837a.tar
guix-e422279bbc5e4743ed7b99bbe060a52f86d9837a.tar.gz
gnu: Add ghc-regex-posix.
* gnu/packages/haskell.scm (ghc-regex-posix): New variable.
-rw-r--r--gnu/packages/haskell.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 55f3de0e56..7fba208d43 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -1655,6 +1655,28 @@ removed. Both IPv4 and IPv6 are supported.")
regex-posix, regex-pcre, regex-parsec, regex-tdfa, regex-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 "POSIX regular expressions for Haskell")
+ (description "This library provides the POSIX regex backend used by the
+Haskell library @code{regex-base}.")
+ (license bsd-3)))
+
(define-public ghc-regex-tdfa-rc
(package
(name "ghc-regex-tdfa-rc")