From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39343) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e4ejB-0001Dg-83 for guix-patches@gnu.org; Tue, 17 Oct 2017 23:09:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e4ej7-0004Kp-Ux for guix-patches@gnu.org; Tue, 17 Oct 2017 23:09:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:38320) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e4ej7-0004Kg-R4 for guix-patches@gnu.org; Tue, 17 Oct 2017 23:09:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e4ej7-0004hI-Ic for guix-patches@gnu.org; Tue, 17 Oct 2017 23:09:01 -0400 Subject: [bug#28884] [PATCH 01/38] gnu: Add ghc-errors. Resent-Message-ID: From: rsiddharth Date: Wed, 18 Oct 2017 03:07:21 +0000 Message-Id: <20171018030758.1211-1-s@ricketyspace.net> In-Reply-To: <20171018030217.1001-1-s@ricketyspace.net> References: <20171018030217.1001-1-s@ricketyspace.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 28884@debbugs.gnu.org Cc: s@ricketyspace.net * gnu/packages/haskell.scm (ghc-errors): New variable. --- gnu/packages/haskell.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index 7e879f4ad..2d70c6938 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -9005,4 +9005,30 @@ contents of the HTTP connection. It also provides higher-level functions which allow you to avoid direct usage of conduits.") (license license:bsd-3))) +(define-public ghc-errors + (package + (name "ghc-errors") + (version "2.2.2") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "errors-" version "/" + "errors-" version ".tar.gz")) + (sha256 + (base32 + "13sflhglcm5skwrxb48fw96skdcx7ydiy4zg22200733pxhjncpn")))) + (build-system haskell-build-system) + (inputs + `(("ghc-exceptions" ,ghc-exceptions) + ("ghc-text" ,ghc-text) + ("ghc-transformers-compat" ,ghc-transformers-compat) + ("ghc-unexceptionalio" ,ghc-unexceptionalio) + ("ghc-safe" ,ghc-safe))) + (home-page "https://github.com/gabriel439/haskell-errors-library") + (synopsis "Error handling library for Haskell") + (description "This library encourages an error-handling style that +directly uses the type system, rather than out-of-band exceptions.") + (license license:bsd-3))) + ;;; haskell.scm ends here -- 2.15.0.rc0