From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: [PATCH 09/43] gnu: Add ghc-regex-tdfa. Date: Sun, 4 Sep 2016 16:17:08 +0000 Message-ID: <20160904161742.27197-9-ng0@we.make.ritual.n0.is> References: <20160904161742.27197-1-ng0@we.make.ritual.n0.is> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53971) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bga7K-0005BN-1O for guix-devel@gnu.org; Sun, 04 Sep 2016 12:17:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bga7H-0005t6-T0 for guix-devel@gnu.org; Sun, 04 Sep 2016 12:17:56 -0400 Received: from mithlond.libertad.in-berlin.de ([2001:67c:1400:2490::1]:56003 helo=beleriand.n0.is) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bga7H-0005re-K0 for guix-devel@gnu.org; Sun, 04 Sep 2016 12:17:55 -0400 In-Reply-To: <20160904161742.27197-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-tdfa): New variable. --- gnu/packages/haskell.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index d65bece..0b4ad6a 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -6609,4 +6609,28 @@ programs.") regular expressions. Parsers can be built using Applicative interface.") (license license:expat))) +(define-public ghc-regex-tdfa + (package + (name "ghc-regex-tdfa") + (version "1.2.2") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/regex-tdfa/regex-tdfa-" + version ".tar.gz")) + (sha256 + (base32 + "0f8x8wyr6m21g8dnxvnvalz5bsq37l125l6qhs0fscbvprsxc4nb")))) + (build-system haskell-build-system) + (inputs + `(("ghc-mtl" ,ghc-mtl) + ("ghc-parsec" ,ghc-parsec) + ("ghc-regex-base" ,ghc-regex-base))) + (home-page "https://github.com/ChrisKuklewicz/regex-tdfa") + (synopsis "Replaces/Enhances Text.Regex") + (description + "A new all Haskell \"tagged\" DFA regex engine, inspired by libtre") + (license license:bsd-3))) + ;;; haskell.scm ends here -- 2.9.3