From mboxrd@z Thu Jan 1 00:00:00 1970 From: ericbavier@openmailbox.org Subject: Re: [PATCH] gnu: Add ghc-attoparsec. Date: Wed, 21 Oct 2015 22:10:46 -0500 Message-ID: <1445483479-19104-2-git-send-email-ericbavier@openmailbox.org> References: <1445483479-19104-1-git-send-email-ericbavier@openmailbox.org> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59570) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpAsd-000599-0t for guix-devel@gnu.org; Thu, 22 Oct 2015 04:05:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZpAsY-0005tr-R2 for guix-devel@gnu.org; Thu, 22 Oct 2015 04:05:46 -0400 Received: from smtp20.openmailbox.org ([62.4.1.54]:44879) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpAsY-0005tS-Km for guix-devel@gnu.org; Thu, 22 Oct 2015 04:05:42 -0400 In-Reply-To: <1445483479-19104-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-attoparsec): New variable. > --- > gnu/packages/haskell.scm | 31 +++++++++++++++++++++++++++++++ > 1 file changed, 31 insertions(+) > > diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm > index 35cfed6..91fe2b4 100644 > --- a/gnu/packages/haskell.scm > +++ b/gnu/packages/haskell.scm > @@ -1160,6 +1160,37 @@ Both IPv4 and IPv6 are supported.") > by Roman Cheplyaka).") > (license bsd-3))) > > +(define-public ghc-attoparsec > + (package > + (name "ghc-attoparsec") > + (version "0.13.0.1") > + (source > + (origin > + (method url-fetch) > + (uri (string-append > + "http://hackage.haskell.org/package/attoparsec/attoparsec-" > + version > + ".tar.gz")) > + (sha256 > + (base32 > + "0cprkr7bl4lrr80pz8mryb4rbfwdgpsrl7g0fbcaybhl8p5hm26f")))) > + (build-system haskell-build-system) > + (arguments `(#:tests? #f)) ; FIXME: ghc-test-framework unavailable > + (propagated-inputs > + `(("ghc-scientific" ,ghc-scientific))) > + (inputs > + `( > + ("ghc-text" ,ghc-text) Move this onto the previous line. `~Eric > + ("ghc-quickcheck" ,ghc-quickcheck) > + ("ghc-quickcheck-unicode" ,ghc-quickcheck-unicode) > + ("ghc-vector" ,ghc-vector))) > + (home-page "https://github.com/bos/attoparsec") > + (synopsis "Fast combinator parsing for bytestrings and text") > + (description "This library provides a fast parser combinator library, > +aimed particularly at dealing efficiently with network protocols and > +complicated text/binary file formats.") > + (license bsd-3))) > + > (define-public ghc-appar > (package > (name "ghc-appar") > -- > 2.5.0 >