guix-devel
[Top][All Lists]
Advanced

[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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]