toothbrush pushed a commit to branch wip-haskell-platform-7.10.2-a in repository guix.
commit 5be1b96fb1d41c94cb66fdf7db092e1cbdb7ff7a Author: Paul van der Walt <p...@denknerd.org> Date: Thu Oct 15 21:10:01 2015 +0200 gnu: Add ghc-pcre-light. * gnu/packages/haskell.scm (ghc-pcre-light): New variable. --- gnu/packages/haskell.scm | 29 +++++++++++++++++++++++++++++ 1 files changed, 29 insertions(+), 0 deletions(-) diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index e057d1b..d73ea49 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -37,6 +37,7 @@ #:use-module (gnu packages multiprecision) #:use-module (gnu packages ncurses) #:use-module (gnu packages python) + #:use-module (gnu packages pcre) #:use-module (gnu packages xorg)) (define ghc-bootstrap-x86_64-7.8.4 @@ -1031,6 +1032,34 @@ exceptions.") deriving mechanism in Haskell to arbitrary classes.") (license bsd-3))) +(define-public ghc-pcre-light + (package + (name "ghc-pcre-light") + (version "0.4.0.3") + (source + (origin + (method url-fetch) + (uri (string-append + "http://hackage.haskell.org/package/pcre-light/pcre-light-" + version + ".tar.gz")) + (sha256 + (base32 + "0l1df2sk5qwf424bvb8mbdkr2xjg43fi92n5r22yd7vm1zz0jqvf")))) + (build-system haskell-build-system) + (inputs + `(("pcre" ,pcre))) + (home-page + "https://github.com/Daniel-Diaz/pcre-light") + (synopsis + "Efficient and portable Perl-compatible regex library") + (description + "This package provides a small, efficient and portable regex library for +Perl 5 compatible regular expressions. The PCRE library is a set of functions +that implement regular expression pattern matching using the same syntax and +semantics as Perl 5.") + (license bsd-3))) + (define-public ghc-exceptions (package (name "ghc-exceptions")