From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:43835) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iaed7-0004nJ-JA for guix-patches@gnu.org; Fri, 29 Nov 2019 06:40:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iaed2-0003T4-BF for guix-patches@gnu.org; Fri, 29 Nov 2019 06:40:07 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:53603) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iaed1-0003Rm-RK for guix-patches@gnu.org; Fri, 29 Nov 2019 06:40:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iaed1-0006HN-O0 for guix-patches@gnu.org; Fri, 29 Nov 2019 06:40:03 -0500 Subject: [bug#38423] [PATCH 23/49] gnu: Add ghc-data-textual. Resent-Message-ID: From: Robert Vollmert Date: Fri, 29 Nov 2019 12:37:25 +0100 Message-Id: <20191129113751.82405-23-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-data-textual): New variable. --- gnu/packages/haskell-xyz.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 766eb129bb..2421a5f9a1 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -13657,3 +13657,36 @@ fixed-length binary word data types. Signed and unsigned (description "This package provides a common API for serialization libraries like and .") (license license:bsd-3))) + +(define-public ghc-data-textual + (package + (name "ghc-data-textual") + (version "0.3.0.2") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/data-textual/data-textual-" + version + ".tar.gz")) + (sha256 + (base32 + "0c4qs923dj4jnvvkjvbij0c1yg922iw66140cq6wb1m4h6q31ia4")))) + (build-system haskell-build-system) + (inputs + `(("ghc-text-latin1" ,ghc-text-latin1) + ("ghc-text-printer" ,ghc-text-printer) + ("ghc-parsers" ,ghc-parsers))) + (native-inputs + `(("ghc-test-framework" ,ghc-test-framework) + ("ghc-test-framework-quickcheck2" + ,ghc-test-framework-quickcheck2) + ("ghc-quickcheck" ,ghc-quickcheck) + ("ghc-type-hint" ,ghc-type-hint))) + (home-page "https://github.com/mvv/data-textual") + (synopsis + "Human-friendly textual representations.") + (description + "This package provides an interface for converting +between data and its (human-friendly) textual representation.") + (license license:bsd-3))) -- 2.21.0 (Apple Git-122.2)