From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:47210) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hmyww-0004yK-C2 for guix-patches@gnu.org; Mon, 15 Jul 2019 07:15:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hmywu-0002VN-69 for guix-patches@gnu.org; Mon, 15 Jul 2019 07:15:18 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:37852) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hmyws-0002Tt-Ci for guix-patches@gnu.org; Mon, 15 Jul 2019 07:15:16 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hmyws-0003UB-51 for guix-patches@gnu.org; Mon, 15 Jul 2019 07:15:14 -0400 Subject: [bug#36663] [PATCH 08/14] gnu: Add ghc-readable Resent-Message-ID: From: Robert Vollmert Date: Mon, 15 Jul 2019 13:14:06 +0200 Message-Id: <20190715111412.74324-8-rob@vllmrt.net> In-Reply-To: <20190715111412.74324-1-rob@vllmrt.net> References: <20190715111412.74324-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: 36663@debbugs.gnu.org Cc: Robert Vollmert * gnu/packages/haskell-xyz.scm (ghc-readable): New field. --- gnu/packages/haskell-xyz.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 9cfab15381..f845883589 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -57,3 +57,26 @@ "The package language-glsl is a Haskell library for the representation, the parsing, and the pretty-printing of GLSL 1.50 code.") (license license:bsd-3))) + +(define-public ghc-readable + (package + (name "ghc-readable") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/readable/readable-" + version + ".tar.gz")) + (sha256 + (base32 + "1ja39cg26wy2fs00gi12x7iq5k8i366pbqi3p916skfa5jnkfc3h")))) + (build-system haskell-build-system) + (home-page + "https://github.com/mightybyte/readable") + (synopsis "Reading from Text and ByteString") + (description + "Provides a Readable type class for reading data types from ByteString +and Text. Also includes efficient implementations for common data types.") + (license license:bsd-3))) -- 2.20.1 (Apple Git-117)