From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:44334) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iaedJ-0004xJ-GU for guix-patches@gnu.org; Fri, 29 Nov 2019 06:40:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iaedF-0003qi-5m for guix-patches@gnu.org; Fri, 29 Nov 2019 06:40:19 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:53629) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iaedD-0003ov-NU for guix-patches@gnu.org; Fri, 29 Nov 2019 06:40:17 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iaedC-0006KK-K6 for guix-patches@gnu.org; Fri, 29 Nov 2019 06:40:14 -0500 Subject: [bug#38423] [PATCH 01/49] gnu: Add ghc-text-printer. References: In-Reply-To: Resent-Message-ID: From: Robert Vollmert Date: Fri, 29 Nov 2019 12:37:03 +0100 Message-Id: <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-text-printer): New package. --- gnu/packages/haskell-xyz.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index fb6833207d..a267685f99 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -13148,3 +13148,34 @@ Zstandard compression algorithm, a fast lossless compression algorithm targeting real-time compression scenarios at zlib-level and better compression ratios.") (license license:bsd-3))) + +(define-public ghc-text-printer + (package + (name "ghc-text-printer") + (version "0.5") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/text-printer/text-printer-" + version + ".tar.gz")) + (sha256 + (base32 + "02sadjd19dbxzawr1q8z3j7w6vhp5mvz1dbssk118hsvl6k0234g")))) + (build-system haskell-build-system) + (inputs + `(("ghc-text-latin1" ,ghc-text-latin1) + ("ghc-semigroups" ,ghc-semigroups))) + (native-inputs + `(("ghc-test-framework" ,ghc-test-framework) + ("ghc-test-framework-quickcheck2" + ,ghc-test-framework-quickcheck2) + ("ghc-quickcheck" ,ghc-quickcheck))) + (home-page "https://github.com/mvv/text-printer") + (synopsis + "Abstract interface for text builders/printers.") + (description + "This package provides an interface for injecting text +into monoids such as builders and printers.") + (license license:bsd-3))) -- 2.21.0 (Apple Git-122.2)