[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
18/24: gnu: Add ghc-safe-exceptions.
From: |
Ricardo Wurmus |
Subject: |
18/24: gnu: Add ghc-safe-exceptions. |
Date: |
Fri, 5 Oct 2018 17:59:49 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit 9ef95a196f5144506eb92e3870de96a180454643
Author: Ricardo Wurmus <address@hidden>
Date: Tue Oct 2 18:38:02 2018 +0200
gnu: Add ghc-safe-exceptions.
* gnu/packages/haskell.scm (ghc-safe-exceptions): New variable.
---
gnu/packages/haskell.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 9bc86bf..5d68ddc 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -11180,4 +11180,37 @@ Haskell value or function.")
vector spaces.")
(license license:bsd-3)))
+(define-public ghc-safe-exceptions
+ (package
+ (name "ghc-safe-exceptions")
+ (version "0.1.7.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://hackage.haskell.org/package/"
+ "safe-exceptions/safe-exceptions-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "0sd0zfsm9pcll5bzzj523rbn45adjrnavdkz52hgmdjjgdcdrk8q"))))
+ (build-system haskell-build-system)
+ (arguments
+ '(#:cabal-revision
+ ("4" "0fid41gishzsyb47wzxhd5falandfirqcp760hcja81qjpfmqd32")))
+ (inputs `(("ghc-exceptions" ,ghc-exceptions)))
+ (native-inputs
+ `(("ghc-hspec" ,ghc-hspec)
+ ("ghc-void" ,ghc-void)
+ ("hspec-discover" ,hspec-discover)))
+ (home-page "https://github.com/fpco/safe-exceptions")
+ (synopsis "Safe, consistent, and easy exception handling")
+ (description "Runtime exceptions - as exposed in @code{base} by the
address@hidden module - have long been an intimidating part of the
+Haskell ecosystem. This package is intended to overcome this. It provides a
+safe and simple API on top of the existing exception handling machinery. The
+API is equivalent to the underlying implementation in terms of power but
+encourages best practices to minimize the chances of getting the exception
+handling wrong.")
+ (license license:expat)))
+
;;; haskell.scm ends here
- 01/24: gnu: ghc-http-conduit: Remove ghc-http-client from native-inputs., (continued)
- 01/24: gnu: ghc-http-conduit: Remove ghc-http-client from native-inputs., Ricardo Wurmus, 2018/10/05
- 02/24: gnu: ghc-regex: Fix build., Ricardo Wurmus, 2018/10/05
- 03/24: gnu: Add ghc-cairo., Ricardo Wurmus, 2018/10/05
- 08/24: gnu: Add ghc-stm-conduit., Ricardo Wurmus, 2018/10/05
- 09/24: gnu: Add ghc-bindings-dsl., Ricardo Wurmus, 2018/10/05
- 11/24: gnu: Add ghc-bzlib-conduit., Ricardo Wurmus, 2018/10/05
- 10/24: gnu: Add ghc-lzma-conduit., Ricardo Wurmus, 2018/10/05
- 12/24: gnu: Add ghc-pqueue., Ricardo Wurmus, 2018/10/05
- 13/24: gnu: Add ghc-conduit-algorithms., Ricardo Wurmus, 2018/10/05
- 20/24: gnu: Add ghc-bytestring-lexing., Ricardo Wurmus, 2018/10/05
- 18/24: gnu: Add ghc-safe-exceptions.,
Ricardo Wurmus <=
- 23/24: gnu: Add ghc-safeio., Ricardo Wurmus, 2018/10/05
- 04/24: gnu: Add ghc-chart-cairo., Ricardo Wurmus, 2018/10/05
- 05/24: gnu: Add ghc-atomic-write., Ricardo Wurmus, 2018/10/05
- 06/24: gnu: Add ghc-cereal-conduit., Ricardo Wurmus, 2018/10/05
- 07/24: gnu: Add ghc-lzma., Ricardo Wurmus, 2018/10/05
- 16/24: gnu: Add ghc-raw-string-qq., Ricardo Wurmus, 2018/10/05
- 17/24: gnu: Add ghc-inline-c., Ricardo Wurmus, 2018/10/05
- 14/24: gnu: Add ghc-interpolate., Ricardo Wurmus, 2018/10/05
- 15/24: gnu: Add ghc-hpack., Ricardo Wurmus, 2018/10/05
- 24/24: gnu: Add ngless., Ricardo Wurmus, 2018/10/05