From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: [PATCH 10/23] gnu: Add ghc-regex-compat-tdfa. Date: Fri, 2 Sep 2016 09:39:57 +0000 Message-ID: <20160902094010.11483-10-ng0@we.make.ritual.n0.is> References: <20160902094010.11483-1-ng0@we.make.ritual.n0.is> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37930) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bfkxj-0001G4-VZ for guix-devel@gnu.org; Fri, 02 Sep 2016 05:40:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bfkxf-0008Lg-Pw for guix-devel@gnu.org; Fri, 02 Sep 2016 05:40:38 -0400 Received: from mithlond.libertad.in-berlin.de ([217.197.83.212]:33315 helo=beleriand.n0.is) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bfkxf-0008L6-Fy for guix-devel@gnu.org; Fri, 02 Sep 2016 05:40:35 -0400 In-Reply-To: <20160902094010.11483-1-ng0@we.make.ritual.n0.is> 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" To: guix-devel@gnu.org * gnu/packages/haskell.scm (ghc-regex-compat-tdfa): New variable. --- gnu/packages/haskell.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index 0b4ad6a..421d3a8 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -6633,4 +6633,30 @@ regular expressions. Parsers can be built using Applicative interface.") "A new all Haskell \"tagged\" DFA regex engine, inspired by libtre") (license license:bsd-3))) +(define-public ghc-regex-compat-tdfa + (package + (name "ghc-regex-compat-tdfa") + (version "0.95.1.4") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/regex-compat-tdfa/regex-compat-tdfa-" + version ".tar.gz")) + (sha256 + (base32 + "1p90fn90yhp7fvljjdqjp41cszidcfz4pw7fwvzyx4739b98x8sg")))) + (build-system haskell-build-system) + (inputs + `(("ghc-regex-base" ,ghc-regex-base) + ("ghc-regex-tdfa" ,ghc-regex-tdfa))) + (home-page "http://hub.darcs.net/shelarcy/regex-compat-tdfa") + (synopsis "Unicode Support version of Text.Regex, using regex-tdfa") + (description + "One module layer over regex-tdfa to replace Text.Regex. regex-compat +can't use Unicode characters correctly because of using regex-posix. This +is not good for Unicode users. This modified regex-compat uses regex-tdfa +to solve this problem.") + (license license:bsd-3))) + ;;; haskell.scm ends here -- 2.9.3