From patchwork Thu Jun 3 15:58:04 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xinglu Chen X-Patchwork-Id: 29871 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 7C2EE27BC83; Thu, 3 Jun 2021 16:59:24 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id D03D627BC91 for ; Thu, 3 Jun 2021 16:59:17 +0100 (BST) Received: from localhost ([::1]:49166 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lopka-0007bN-Qx for patchwork@mira.cbaines.net; Thu, 03 Jun 2021 11:59:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35060) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lopkM-0007Lf-Hk for guix-patches@gnu.org; Thu, 03 Jun 2021 11:59:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33037) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lopkM-0006eu-9w for guix-patches@gnu.org; Thu, 03 Jun 2021 11:59:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lopkM-0001wo-9y for guix-patches@gnu.org; Thu, 03 Jun 2021 11:59:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48813] [PATCH 2/8] gnu: Add ghc-neat-interpolation. Resent-From: Xinglu Chen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 03 Jun 2021 15:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48813 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48813@debbugs.gnu.org Received: via spool by 48813-submit@debbugs.gnu.org id=B48813.16227358927349 (code B ref 48813); Thu, 03 Jun 2021 15:59:02 +0000 Received: (at 48813) by debbugs.gnu.org; 3 Jun 2021 15:58:12 +0000 Received: from localhost ([127.0.0.1]:44565 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lopjY-0001uO-0h for submit@debbugs.gnu.org; Thu, 03 Jun 2021 11:58:12 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:53366 helo=mail.yoctocell.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lopjW-0001tu-8Z for 48813@debbugs.gnu.org; Thu, 03 Jun 2021 11:58:10 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1622735884; bh=MD2BEGuOhX5OgRvYWWiwH0Ap6W7RL1rMyYPbA5kiDjc=; h=From:To:Subject:In-Reply-To:References:Date; b=JU5tIHNmgJ3ktfUrIfHI0edJidjCWfyxe6cyzPf9MPUo2c5MLl4FT1d7Tec5EX0fy /6uQhPSUwbGTxf+DmDdEzEKVirvCZsP3iotBXs3RDM2aW9MnHkaCRJvXuWmWy7ow9U vtjYGYAB0aWsrqqpWafalSyjPYGX8/VeuJ/olPsU= In-Reply-To: References: Message-Id: Date: Thu, 03 Jun 2021 17:58:04 +0200 MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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-neat-interpolation): New variable. --- gnu/packages/haskell-xyz.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index f0054948f6..98093216ee 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -8514,6 +8514,38 @@ with pseudo-graphical interfaces. This package is a nice, modern binding to GNU ncurses.") (license license:gpl3))) +(define-public ghc-neat-interpolation + (package + (name "ghc-neat-interpolation") + (version "0.3.2.6") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/neat-interpolation/neat-interpolation-" + version + ".tar.gz")) + (sha256 + (base32 + "10k5x47i84nycl54p61l8v1bpvi7mw663vnj8nn1qjpn03anz8z2")))) + (build-system haskell-build-system) + (inputs `(("ghc-megaparsec" ,ghc-megaparsec))) + (native-inputs + `(("ghc-quickcheck" ,ghc-quickcheck) + ("ghc-quickcheck-instances" + ,ghc-quickcheck-instances) + ("ghc-rerebase" ,ghc-rerebase) + ("ghc-tasty" ,ghc-tasty) + ("ghc-tasty-hunit" ,ghc-tasty-hunit) + ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck))) + (home-page "https://github.com/nikita-volkov/neat-interpolation") + (synopsis "Quasiquoter for neat and simple multiline text interpolation") + (description "This package provides a quasiquoter for producing Text +values with support for a simple interpolation of input values. It removes the +excessive indentation from the input and accurately manages the indentation of +all lines of the interpolated variables.") + (license license:expat))) + (define-public ghc-network (package (name "ghc-network")