gnu: Add ghc-nats.

* gnu/packages/haskell.scm (ghc-nats): New variable.
This commit is contained in:
Paul van der Walt 2015-10-15 14:27:33 +02:00
parent fe8f53e39b
commit 878535bd81
1 changed files with 23 additions and 0 deletions

View File

@ -2383,6 +2383,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")