From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: [PATCH 08/29] gnu: Add ghc-regex-applicative. Date: Sat, 3 Sep 2016 12:46:07 +0000 Message-ID: <20160903124628.14100-8-ng0@we.make.ritual.n0.is> References: <20160903124628.14100-1-ng0@we.make.ritual.n0.is> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47612) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bgALT-0001Uq-Kl for guix-devel@gnu.org; Sat, 03 Sep 2016 08:46:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bgALR-0000Bz-If for guix-devel@gnu.org; Sat, 03 Sep 2016 08:46:50 -0400 Received: from mithlond.libertad.in-berlin.de ([2001:67c:1400:2490::1]:49722 helo=beleriand.n0.is) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bgALR-0000Ax-8y for guix-devel@gnu.org; Sat, 03 Sep 2016 08:46:49 -0400 In-Reply-To: <20160903124628.14100-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-applicative): 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 8c6aee0..d65bece 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -6583,4 +6583,30 @@ is written in Haskell it is (hopefully) more easily used in other Haskell programs.") (license license:bsd-3))) +(define-public ghc-regex-applicative + (package + (name "ghc-regex-applicative") + (version "0.3.3") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/regex-applicative/" + "regex-applicative-" version ".tar.gz")) + (sha256 + (base32 + "1riv7jqf26lbv4rm54sd6mrx8xdh4dvh4xbzymzdfdw13k6a4nb6")))) + (build-system haskell-build-system) + (inputs + `(("ghc-smallcheck" ,ghc-smallcheck) + ("ghc-tasty" ,ghc-tasty) + ("ghc-tasty-smallcheck" ,ghc-tasty-smallcheck) + ("ghc-tasty-hunit" ,ghc-tasty-hunit))) + (home-page "https://github.com/feuerbach/regex-applicative") + (synopsis "Regex-based parsing with applicative interface") + (description + "regex-applicative is a Haskell library for parsing using +regular expressions. Parsers can be built using Applicative interface.") + (license license:expat))) + ;;; haskell.scm ends here -- 2.9.3