gnu: Add ghc-regex-pcre.

* gnu/packages/haskell-xyz.scm (ghc-regex-pcre): New public variable.
This commit is contained in:
Marius Bakke 2020-06-09 14:04:50 +02:00
parent b1342a8257
commit ddd7983648
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -10249,6 +10249,29 @@ (define-public ghc-regex-compat-tdfa
this problem.")
(license license:bsd-3)))
(define-public ghc-regex-pcre
(package
(name "ghc-regex-pcre")
(version "0.94.4")
(source (origin
(method url-fetch)
(uri (string-append "https://hackage.haskell.org/package/"
"regex-pcre/regex-pcre-" version ".tar.gz"))
(sha256
(base32
"1h16w994g9s62iwkdqa7bar2n9cfixmkzz2rm8svm960qr57valf"))))
(build-system haskell-build-system)
(inputs
`(("ghc-regex-base" ,ghc-regex-base)
("pcre" ,pcre)))
(home-page "https://hackage.haskell.org/package/regex-pcre")
(synopsis "Enhancement of the builtin Text.Regex library")
(description
"This package is an enhancement of the @code{Text.Regex} library.
It wraps the @code{PCRE} C library providing Perl-compatible regular
expressions.")
(license license:bsd-3)))
(define-public ghc-regex-pcre-builtin
(package
(name "ghc-regex-pcre-builtin")