From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul van der Walt Subject: [PATCH 095/105] gnu: Add ghc-parsers. Date: Thu, 15 Oct 2015 17:36:08 +0200 Message-ID: <1444923378-10269-5-git-send-email-paul@denknerd.org> References: <1444923378-10269-1-git-send-email-paul@denknerd.org> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52097) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZmkZz-0005pZ-Kw for guix-devel@gnu.org; Thu, 15 Oct 2015 11:36:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZmkZy-0006o5-F4 for guix-devel@gnu.org; Thu, 15 Oct 2015 11:36:31 -0400 Received: from mx01.mykolab.com ([95.128.36.1]:32864 helo=mx-out02.mykolab.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZmkZy-0006na-8H for guix-devel@gnu.org; Thu, 15 Oct 2015 11:36:30 -0400 Received: from mx03.mykolab.com (mx03.mykolab.com [10.20.7.101]) by mx-out02.mykolab.com (Postfix) with ESMTPS id 34F7662200 for ; Thu, 15 Oct 2015 17:36:25 +0200 (CEST) In-Reply-To: <1444923378-10269-1-git-send-email-paul@denknerd.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 * gnu/packages/haskell.scm (ghc-parsers): New variable. --- gnu/packages/haskell.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index 57ae4ef..ebb07e0 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -1492,6 +1492,43 @@ IPv4 and IPv6 are supported.") by Roman Cheplyaka).") (license bsd-3))) +(define-public ghc-parsers + (package + (name "ghc-parsers") + (version "0.12.3") + (source + (origin + (method url-fetch) + (uri (string-append + "http://hackage.haskell.org/package/parsers/parsers-" + version + ".tar.gz")) + (sha256 + (base32 + "18wzmp8y3py4qa8hdsxqm0jfzmwy744dw7xa48r5s8ynhpimi462")))) + (build-system haskell-build-system) + (arguments `(#:tests? #f)) + (propagated-inputs + `(("ghc-base-orphans" ,ghc-base-orphans) + ("ghc-attoparsec" ,ghc-attoparsec) + ("ghc-parsec" ,ghc-parsec) + ("ghc-scientific" ,ghc-scientific) + ("ghc-charset" ,ghc-charset))) + (inputs + `(("ghc-text" ,ghc-text) + ("ghc-unordered-containers" ,ghc-unordered-containers) + ("ghc-doctest" ,ghc-doctest) + ("ghc-quickcheck" ,ghc-quickcheck) + ("ghc-quickcheck-instances" ,ghc-quickcheck-instances))) + (home-page "http://github.com/ekmett/parsers/") + (synopsis "Parsing combinators") + (description + "This library provides convenient combinators for working with and +building parsing combinator libraries. Given a few simple instances, you get +access to a large number of canned definitions. Instances exist for the +parsers provided by parsec, attoparsec and base's Text.Read.") + (license bsd-3))) + (define-public ghc-attoparsec (package (name "ghc-attoparsec") -- 2.6.1