From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul van der Walt Subject: [PATCH 16/21] gnu: Add ghc-enclosed-exceptions. Date: Wed, 4 Nov 2015 21:01:04 +0100 Message-ID: <1446667269-4961-16-git-send-email-paul@denknerd.org> References: <87oaf95yix.fsf@denknerd.org> <1446667269-4961-1-git-send-email-paul@denknerd.org> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57147) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zu4GA-00050c-Un for guix-devel@gnu.org; Wed, 04 Nov 2015 15:02:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zu4G6-0001Qz-I7 for guix-devel@gnu.org; Wed, 04 Nov 2015 15:02:18 -0500 Received: from mx01.mykolab.com ([95.128.36.1]:22710 helo=mx-out03.mykolab.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zu4G6-0001Py-7C for guix-devel@gnu.org; Wed, 04 Nov 2015 15:02:14 -0500 Received: from mx08.mykolab.com (unknown [10.20.7.48]) by mx-out03.mykolab.com (Postfix) with ESMTPS id 238F621B17 for ; Wed, 4 Nov 2015 21:01:44 +0100 (CET) In-Reply-To: <1446667269-4961-1-git-send-email-paul@denknerd.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org * 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