From e422279bbc5e4743ed7b99bbe060a52f86d9837a Mon Sep 17 00:00:00 2001 From: Paul van der Walt Date: Fri, 16 Oct 2015 11:16:24 +0200 Subject: [PATCH] gnu: Add ghc-regex-posix. * gnu/packages/haskell.scm (ghc-regex-posix): New variable. --- gnu/packages/haskell.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) 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")