[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 16/21] gnu: Add ghc-enclosed-exceptions.
From: |
Paul van der Walt |
Subject: |
[PATCH 16/21] gnu: Add ghc-enclosed-exceptions. |
Date: |
Wed, 4 Nov 2015 21:01:04 +0100 |
* gnu/packages/haskell.scm (ghc-enclosed-exceptions): New variable.
---
gnu/packages/haskell.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 323e1a3..6f956d7 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -1175,6 +1175,35 @@ C header files are needed for building this package. If
an API entry is not
found at runtime, a userError is thrown.")
(license bsd-3)))
+(define-public ghc-enclosed-exceptions
+ (package
+ (name "ghc-enclosed-exceptions")
+ (version "1.0.1.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "http://hackage.haskell.org/package/enclosed-exceptions/"
+ "enclosed-exceptions-" version ".tar.gz"))
+ (sha256
+ (base32
+ "16ax1kqdsk4apg642qxkm2hf9vb5hzmkd14zmkxra8ssp8rn28z5"))))
+ (build-system haskell-build-system)
+ (inputs
+ `(("ghc-lifted-base" ,ghc-lifted-base)
+ ("ghc-monad-control" ,ghc-monad-control)
+ ("ghc-async" ,ghc-async)
+ ("ghc-transformers-base" ,ghc-transformers-base)
+ ("ghc-hspec" ,ghc-hspec)
+ ("ghc-quickcheck" ,ghc-quickcheck)))
+ (home-page "https://github.com/jcristovao/enclosed-exceptions")
+ (synopsis "Catch exceptions from within an enclosed computation")
+ (description
+ "This library provides Haskell functions for catching all exceptions
+raised within an enclosed computation, while remaining responsive
+to (external) asynchronous exceptions.")
+ (license expat)))
+
(define-public ghc-glut
(package
(name "ghc-glut")
--
2.6.2
- [PATCH 14/21] gnu: Add ghc-system-filepath., (continued)
- [PATCH 14/21] gnu: Add ghc-system-filepath., Paul van der Walt, 2015/11/04
- [PATCH 19/21] gnu: Add ghc-alsa-core., Paul van der Walt, 2015/11/04
- [PATCH 18/21] gnu: Add c2hs., Paul van der Walt, 2015/11/04
- [PATCH 12/21] gnu: Add ghc-chell., Paul van der Walt, 2015/11/04
- [PATCH 13/21] gnu: Add ghc-chell-quickcheck., Paul van der Walt, 2015/11/04
- [PATCH 16/21] gnu: Add ghc-enclosed-exceptions.,
Paul van der Walt <=
- [PATCH 17/21] gnu: Add ghc-shelly., Paul van der Walt, 2015/11/04
- [PATCH 15/21] gnu: Add ghc-system-fileio., Paul van der Walt, 2015/11/04
- [PATCH 21/21] gnu: Add xmobar., Paul van der Walt, 2015/11/04
- [PATCH 20/21] gnu: Add ghc-alsa-mixer., Paul van der Walt, 2015/11/04
- Re: [PATCH 01/21] gnu: ghc-regex-posix: Propagate inputs., Ludovic Courtès, 2015/11/10