From patchwork Mon Jul 15 11:14:10 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Vollmert X-Patchwork-Id: 14663 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id EAF0516FE3; Mon, 15 Jul 2019 12:15:55 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id ACAE216F99 for ; Mon, 15 Jul 2019 12:15:55 +0100 (BST) Received: from localhost ([::1]:37260 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hmyxX-0006xO-8M for patchwork@mira.cbaines.net; Mon, 15 Jul 2019 07:15:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47174) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hmywu-0004pb-4Q for guix-patches@gnu.org; Mon, 15 Jul 2019 07:15:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hmywq-0002RP-2U for guix-patches@gnu.org; Mon, 15 Jul 2019 07:15:15 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:37849) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hmywp-0002Qr-UF for guix-patches@gnu.org; Mon, 15 Jul 2019 07:15:11 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hmywp-0003SH-NU for guix-patches@gnu.org; Mon, 15 Jul 2019 07:15:11 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#36663] [PATCH 12/14] gnu: Add ghc-prettyclass Resent-From: Robert Vollmert Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 15 Jul 2019 11:15:11 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36663 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 36663@debbugs.gnu.org Received: via spool by 36663-submit@debbugs.gnu.org id=B36663.156318930012855 (code B ref 36663); Mon, 15 Jul 2019 11:15:11 +0000 Received: (at 36663) by debbugs.gnu.org; 15 Jul 2019 11:15:00 +0000 Received: from localhost ([127.0.0.1]:46652 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hmywd-0003LB-Vc for submit@debbugs.gnu.org; Mon, 15 Jul 2019 07:15:00 -0400 Received: from mx1.mailbox.org ([80.241.60.212]:57514) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hmywY-0003K0-JA for 36663@debbugs.gnu.org; Mon, 15 Jul 2019 07:14:54 -0400 Received: from smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:105:465:1:2:0]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by mx1.mailbox.org (Postfix) with ESMTPS id 68F4F50964; Mon, 15 Jul 2019 13:14:54 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp2.mailbox.org ([80.241.60.241]) by spamfilter02.heinlein-hosting.de (spamfilter02.heinlein-hosting.de [80.241.56.116]) (amavisd-new, port 10030) with ESMTP id m1XjkEjVIeRB; Mon, 15 Jul 2019 13:14:49 +0200 (CEST) From: Robert Vollmert Date: Mon, 15 Jul 2019 13:14:10 +0200 Message-Id: <20190715111412.74324-12-rob@vllmrt.net> In-Reply-To: <20190715111412.74324-1-rob@vllmrt.net> References: <20190715111412.74324-1-rob@vllmrt.net> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Robert Vollmert Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/haskell-xyz.scm (ghc-prettyclass): New field. --- gnu/packages/haskell-xyz.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 43d04b0563..7763b94ae4 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -195,3 +195,28 @@ primitives for I/O using streams.") (description "Low-level bindings to the zlib package.") (license license:bsd-3))) + +(define-public ghc-prettyclass + (package + (name "ghc-prettyclass") + (version "1.0.0.0") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/prettyclass/prettyclass-" + version + ".tar.gz")) + (sha256 + (base32 + "11l9ajci7nh1r547hx8hgxrhq8mh5gdq30pdf845wvilg9p48dz5")))) + (build-system haskell-build-system) + (home-page + "http://hackage.haskell.org/package/prettyclass") + (synopsis + "Pretty printing class similar to Show") + (description + "Pretty printing class similar to Show, based on the HughesPJ +pretty printing library. Provides the pretty printing class and +instances for the Prelude types.") + (license license:bsd-3)))