aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul van der Walt <paul@denknerd.org>2015-10-16 11:17:34 +0200
committerPaul van der Walt <paul@denknerd.org>2015-10-23 09:10:52 +0200
commit25d51164f7b012a089abd70ce9a97d69bdb83aea (patch)
treeac8c05f3f3840a4eebd91fb0ee9be8e6859fc1a3
parente422279bbc5e4743ed7b99bbe060a52f86d9837a (diff)
downloadpatches-25d51164f7b012a089abd70ce9a97d69bdb83aea.tar
patches-25d51164f7b012a089abd70ce9a97d69bdb83aea.tar.gz
gnu: Add ghc-regex-compat.
* gnu/packages/haskell.scm (ghc-regex-compat): New variable.
-rw-r--r--gnu/packages/haskell.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 7fba208d43..b8674e5582 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -1677,6 +1677,30 @@ regex-posix, regex-pcre, regex-parsec, regex-tdfa, regex-dfa.")
Haskell library @code{regex-base}.")
(license bsd-3)))
+(define-public ghc-regex-compat
+ (package
+ (name "ghc-regex-compat")
+ (version "0.95.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "http://hackage.haskell.org/package/regex-compat/regex-compat-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "0fwmima3f04p9y4h3c23493n1xj629ia2dxaisqm6rynljjv2z6m"))))
+ (build-system haskell-build-system)
+ (inputs
+ `(("ghc-regex-base" ,ghc-regex-base)
+ ("ghc-regex-posix" ,ghc-regex-posix)))
+ (home-page "http://sourceforge.net/projects/lazy-regex")
+ (synopsis "Replaces/Enhances Text.Regex")
+ (description "This library provides one module layer over
+@code{regex-posix} to replace @code{Text.Regex}.")
+ (license bsd-3)))
+
(define-public ghc-regex-tdfa-rc
(package
(name "ghc-regex-tdfa-rc")