toothbrush pushed a commit to branch wip-haskell-platform-7.10.2-a in repository guix.
commit c185729c59415d18d865f38df7d892f6e1d92696 Author: Paul van der Walt <[email protected]> Date: Thu Oct 15 21:14:40 2015 +0200 gnu: Add ghc-fingertree. * gnu/packages/haskell.scm (ghc-fingertree): New variable. --- gnu/packages/haskell.scm | 28 ++++++++++++++++++++++++++++ 1 files changed, 28 insertions(+), 0 deletions(-) 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))) + (home-page "http://hackage.haskell.org/package/fingertree") + (synopsis "Generic finger-tree structure, with example instances") + (description "This library provides finger trees, a general sequence +representation with arbitrary annotations, for use as a base for +implementations of various collection types. It includes examples, as +described in section 4 of Ralf Hinze and Ross Paterson, \"Finger trees: a +simple general-purpose data structure\".") + (license bsd-3))) + ;;; haskell.scm ends here
