gnu: Add ghc-errors.
* gnu/packages/haskell.scm (ghc-errors): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
ef7dd2e259
commit
78d8b8f36a
|
@ -11,6 +11,7 @@
|
||||||
;;; Copyright © 2017 Danny Milosavljevic <dannym@scratchpost.org>
|
;;; Copyright © 2017 Danny Milosavljevic <dannym@scratchpost.org>
|
||||||
;;; Copyright © 2017 Peter Mikkelsen <petermikkelsen10@gmail.com>
|
;;; Copyright © 2017 Peter Mikkelsen <petermikkelsen10@gmail.com>
|
||||||
;;; Copyright © 2017 Alex Vong <alexvong1995@gmail.com>
|
;;; Copyright © 2017 Alex Vong <alexvong1995@gmail.com>
|
||||||
|
;;; Copyright © 2017 rsiddharth <s@ricketyspace.net>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -9005,4 +9006,30 @@ contents of the HTTP connection. It also provides higher-level functions
|
||||||
which allow you to avoid direct usage of conduits.")
|
which allow you to avoid direct usage of conduits.")
|
||||||
(license license:bsd-3)))
|
(license license:bsd-3)))
|
||||||
|
|
||||||
|
(define-public ghc-errors
|
||||||
|
(package
|
||||||
|
(name "ghc-errors")
|
||||||
|
(version "2.2.2")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (string-append "https://hackage.haskell.org/package/"
|
||||||
|
"errors-" version "/"
|
||||||
|
"errors-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"13sflhglcm5skwrxb48fw96skdcx7ydiy4zg22200733pxhjncpn"))))
|
||||||
|
(build-system haskell-build-system)
|
||||||
|
(inputs
|
||||||
|
`(("ghc-exceptions" ,ghc-exceptions)
|
||||||
|
("ghc-text" ,ghc-text)
|
||||||
|
("ghc-transformers-compat" ,ghc-transformers-compat)
|
||||||
|
("ghc-unexceptionalio" ,ghc-unexceptionalio)
|
||||||
|
("ghc-safe" ,ghc-safe)))
|
||||||
|
(home-page "https://github.com/gabriel439/haskell-errors-library")
|
||||||
|
(synopsis "Error handling library for Haskell")
|
||||||
|
(description "This library encourages an error-handling style that
|
||||||
|
directly uses the type system, rather than out-of-band exceptions.")
|
||||||
|
(license license:bsd-3)))
|
||||||
|
|
||||||
;;; haskell.scm ends here
|
;;; haskell.scm ends here
|
||||||
|
|
Loading…
Reference in New Issue