From mboxrd@z Thu Jan 1 00:00:00 1970 From: ericbavier@openmailbox.org Subject: Re: [PATCH] gnu: Add ghc-fingertree. Date: Wed, 21 Oct 2015 22:32:36 -0500 Message-ID: <1445484780-25990-2-git-send-email-ericbavier@openmailbox.org> References: <1445483479-19104-1-git-send-email-ericbavier@openmailbox.org> <1445484780-25990-1-git-send-email-ericbavier@openmailbox.org> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39785) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpBDD-0003bw-BS for guix-devel@gnu.org; Thu, 22 Oct 2015 04:27:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZpBD9-0004lw-CQ for guix-devel@gnu.org; Thu, 22 Oct 2015 04:27:03 -0400 Received: from smtp12.openmailbox.org ([62.4.1.46]:60576) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpBD8-0004lG-TG for guix-devel@gnu.org; Thu, 22 Oct 2015 04:26:59 -0400 In-Reply-To: <1445484780-25990-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-fingertree): New variable. > --- > gnu/packages/haskell.scm | 28 ++++++++++++++++++++++++++++ > 1 file changed, 28 insertions(+) > > diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm > index 50da7ff..05751b1 100644 > --- a/gnu/packages/haskell.scm > +++ b/gnu/packages/haskell.scm > @@ -1870,4 +1870,32 @@ over threads in Haskell, in which @code{Async a} is a concurrent thread that > will eventually deliver a value of type @code{a}.") > (license bsd-3))) > > +(define-public ghc-fingertree > + (package > + (name "ghc-fingertree") > + (version "0.1.1.0") > + (source > + (origin > + (method url-fetch) > + (uri (string-append > + "http://hackage.haskell.org/package/fingertree/fingertree-" > + version > + ".tar.gz")) > + (sha256 > + (base32 > + "1w6x3kp3by5yjmam6wlrf9vap5l5rrqaip0djbrdp0fpf2imn30n")))) > + (build-system haskell-build-system) > + (arguments `(#:tests? #f)) ; FIXME: testing libraries are missing. > + (inputs > + `(("ghc-hunit" ,ghc-hunit) > + ("ghc-quickcheck" ,ghc-quickcheck))) Test-only inputs could be left out completely here. > + (home-page "http://hackage.haskell.org/package/fingertree") > + (synopsis "Generic finger-tree structure, with example instances") The mention of examples here is probably superfluous. `~Eric