toothbrush pushed a commit to branch wip-haskell-platform-7.10.2-a in repository guix.
commit 77a321bc39c926fa6290e32b7f26b951fea09704 Author: Paul van der Walt <[email protected]> Date: Thu Oct 15 14:27:33 2015 +0200 gnu: Add ghc-nats. * gnu/packages/haskell.scm (ghc-nats): New variable. --- gnu/packages/haskell.scm | 23 +++++++++++++++++++++++ 1 files changed, 23 insertions(+), 0 deletions(-) diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index 2f7ab2a..0150532 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -2387,6 +2387,29 @@ or timeout period. This package provides alternative functions which use the unbounded @code{Integer} type.") (license bsd-3))) +(define-public ghc-nats + (package + (name "ghc-nats") + (version "1") + (source + (origin + (method url-fetch) + (uri (string-append + "http://hackage.haskell.org/package/nats/nats-" + version + ".tar.gz")) + (sha256 + (base32 + "0r6s8l4s0yq3x2crrkv0b8zac13magfasr9v8hnq6rn1icsfhic0")))) + (build-system haskell-build-system) + (arguments `(#:haddock? #f)) + (inputs + `(("ghc-hashable" ,ghc-hashable))) + (home-page "https://hackage.haskell.org/package/nats") + (synopsis "Natural numbers") + (description "This library provides the natural numbers for Haskell.") + (license bsd-3))) + (define-public ghc-doctest (package (name "ghc-doctest")
