From mboxrd@z Thu Jan 1 00:00:00 1970 From: ericbavier@openmailbox.org Subject: Re: [PATCH] gnu: Add ghc-regex-tdfa-rc. Date: Thu, 22 Oct 2015 03:47:40 -0500 Message-ID: <1445503671-30014-12-git-send-email-ericbavier@openmailbox.org> References: <1445483479-19104-1-git-send-email-ericbavier@openmailbox.org> <1445503671-30014-1-git-send-email-ericbavier@openmailbox.org> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52377) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpG8A-00043b-7J for guix-devel@gnu.org; Thu, 22 Oct 2015 09:42:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZpG82-00081H-Lv for guix-devel@gnu.org; Thu, 22 Oct 2015 09:42:10 -0400 Received: from smtp4.openmailbox.org ([62.4.1.38]:37937) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpG82-000808-G5 for guix-devel@gnu.org; Thu, 22 Oct 2015 09:42:02 -0400 In-Reply-To: <1445503671-30014-1-git-send-email-ericbavier@openmailbox.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org, Paul van der Walt From: Eric Bavier > * gnu/packages/haskell.scm (ghc-regex-tdfa-rc): New variable. > --- > gnu/packages/haskell.scm | 28 ++++++++++++++++++++++++++++ > 1 file changed, 28 insertions(+) > > diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm > index be37c5a..810dfb1 100644 > --- a/gnu/packages/haskell.scm > +++ b/gnu/packages/haskell.scm > @@ -1132,6 +1132,34 @@ Both IPv4 and IPv6 are supported.") > "Interface API for regex-posix, pcre, parsec, tdfa, dfa.") > (license bsd-3))) > > +(define-public ghc-regex-tdfa-rc > + (package > + (name "ghc-regex-tdfa-rc") > + (version "1.1.8.3") > + (source > + (origin > + (method url-fetch) > + (uri (string-append > + "http://hackage.haskell.org/package/regex-tdfa-rc/regex-tdfa-rc-" > + version > + ".tar.gz")) > + (sha256 > + (base32 > + "1vi11i23gkkjg6193ak90g55akj69bhahy542frkwb68haky4pp3")))) > + (build-system haskell-build-system) > + (propagated-inputs > + `(("ghc-regex-base" ,ghc-regex-base) > + ("ghc-parsec" ,ghc-parsec))) > + (inputs > + `(("ghc-mtl" ,ghc-mtl))) I would be surprised if this did not also need to be propagated, but I confess I do not know of a reliable way to check. > + (home-page > + "http://hackage.haskell.org/package/regex-tdfa") > + (synopsis "Replaces/Enhances Text.Regex") How about: "Tagged DFA regex engine for Haskell" `~Eric