From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul van der Walt Subject: [PATCH 092/105] gnu: Add ghc-resourcet. Date: Thu, 15 Oct 2015 17:36:05 +0200 Message-ID: <1444923378-10269-2-git-send-email-paul@denknerd.org> References: <1444923378-10269-1-git-send-email-paul@denknerd.org> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52168) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zmka7-0005qg-5S for guix-devel@gnu.org; Thu, 15 Oct 2015 11:36:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zmka4-0006r8-Hv for guix-devel@gnu.org; Thu, 15 Oct 2015 11:36:39 -0400 Received: from mx01.mykolab.com ([95.128.36.1]:51909 helo=mx-out03.mykolab.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zmka4-0006qy-Bq for guix-devel@gnu.org; Thu, 15 Oct 2015 11:36:36 -0400 Received: from mx03.mykolab.com (mx03.mykolab.com [10.20.7.101]) by mx-out03.mykolab.com (Postfix) with ESMTPS id C317522F59 for ; Thu, 15 Oct 2015 17:36:22 +0200 (CEST) In-Reply-To: <1444923378-10269-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-resourcet): 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 b7b4c7c..501cf1e 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -531,6 +531,39 @@ the HaRP extension as well as HSX-style embedded XML syntax.") "HLint gives suggestions on how to improve your source code.") (license bsd-3))) +(define-public ghc-resourcet + (package + (name "ghc-resourcet") + (version "1.1.6") + (source + (origin + (method url-fetch) + (uri (string-append + "http://hackage.haskell.org/package/resourcet/resourcet-" + version + ".tar.gz")) + (sha256 + (base32 + "0zhsaaa4n8ry76vjih519a8npm2hrzk10d5asrgllcwpzmifl41y")))) + (build-system haskell-build-system) + (propagated-inputs + `(("ghc-transformers-base" ,ghc-transformers-base) + ("ghc-monad-control" ,ghc-monad-control) + ("ghc-transformers-compat" ,ghc-transformers-compat) + ("ghc-mtl" ,ghc-mtl) + ("ghc-mmorph" ,ghc-mmorph) + ("ghc-exceptions" ,ghc-exceptions))) + (inputs + `(("ghc-lifted-base" ,ghc-lifted-base) + ("ghc-hspec" ,ghc-hspec))) + (home-page "http://github.com/snoyberg/conduit") + (synopsis + "Deterministic allocation and freeing of scarce resources") + (description + "ResourceT is a monad transformer which creates a region of code where +you can safely allocate resources.") + (license bsd-3))) + (define-public ghc-cpphs (package (name "ghc-cpphs") -- 2.6.1