gnu: Add ghc-safe.

* gnu/packages/haskell.scm (ghc-safe): New variable.
This commit is contained in:
Paul van der Walt 2015-10-15 21:09:00 +02:00
parent 76ae28f16b
commit 78c5b39d08
1 changed files with 22 additions and 0 deletions

View File

@ -984,6 +984,28 @@ regex-posix, regex-pcre, regex-parsec, regex-tdfa, regex-dfa.")
style.") style.")
(license bsd-3))) (license bsd-3)))
(define-public ghc-safe
(package
(name "ghc-safe")
(version "0.3.9")
(source
(origin
(method url-fetch)
(uri (string-append
"http://hackage.haskell.org/package/safe/safe-"
version
".tar.gz"))
(sha256
(base32
"1jdnp5zhvalf1xy8i872n29nljfjz6lnl9ghj80ffisrnnkrwcfh"))))
(build-system haskell-build-system)
(home-page "https://github.com/ndmitchell/safe#readme")
(synopsis "Library of safe (exception free) functions")
(description "This library provides wrappers around @code{Prelude} and
@code{Data.List} functions, such as @code{head} and @code{!!}, that can throw
exceptions.")
(license bsd-3)))
(define-public ghc-exceptions (define-public ghc-exceptions
(package (package
(name "ghc-exceptions") (name "ghc-exceptions")