From: Eric Bavier <ericbav...@openmailbox.org> > * 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