From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:43990) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iaedC-0004pR-Gk for guix-patches@gnu.org; Fri, 29 Nov 2019 06:40:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iaed8-0003dV-2V for guix-patches@gnu.org; Fri, 29 Nov 2019 06:40:12 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:53613) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iaed6-0003Zs-TD for guix-patches@gnu.org; Fri, 29 Nov 2019 06:40:09 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iaed5-0006IL-QT for guix-patches@gnu.org; Fri, 29 Nov 2019 06:40:07 -0500 Subject: [bug#38423] [PATCH 36/49] gnu: Add ghc-loch-th. Resent-Message-ID: From: Robert Vollmert Date: Fri, 29 Nov 2019 12:37:38 +0100 Message-Id: <20191129113751.82405-36-rob@vllmrt.net> In-Reply-To: <20191129113751.82405-1-rob@vllmrt.net> References: <20191129113751.82405-1-rob@vllmrt.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: 38423@debbugs.gnu.org Cc: Robert Vollmert * gnu/packages/haskell-xyz.scm (ghc-loch-th): New variable. --- gnu/packages/haskell-xyz.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index d401ddd469..1b9db3f519 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -14031,3 +14031,27 @@ to bytestring-strict-builder.") (description "QuasiQuoter for Perl6-style multi-line interpolated strings.") (license license:public-domain))) + +(define-public ghc-loch-th + (package + (name "ghc-loch-th") + (version "0.2.2") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/loch-th/loch-th-" + version + ".tar.gz")) + (sha256 + (base32 + "1hvdkcyrlnv65q8x8h0441x30wr9bbfbg3961xd3fy9an5r961fc")))) + (build-system haskell-build-system) + (home-page "https://github.com/liskin/loch-th") + (synopsis + "Support for precise error locations in source files (Template Haskell version)") + (description + "This module provides a Template Haskell based mechanism to tag failures with +the location of the failure call. The location message includes the file name, +line and column numbers.") + (license license:bsd-3))) -- 2.21.0 (Apple Git-122.2)