From patchwork Sat Jan 5 12:05:06 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gabriel Hondet X-Patchwork-Id: 675 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 BEC8016A0B; Sat, 5 Jan 2019 12:08:12 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham autolearn_force=no version=3.4.0 Received: from listsout.gnu.org (listsout.gnu.org [208.118.235.17]) by mira.cbaines.net (Postfix) with ESMTP id 4538A169C4 for ; Sat, 5 Jan 2019 12:08:12 +0000 (GMT) Received: from localhost ([127.0.0.1]:41101 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gfkkN-0004rv-BB for patchwork@mira.cbaines.net; Sat, 05 Jan 2019 07:08:11 -0500 Received: from eggsout.gnu.org ([209.51.188.92]:56922 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gfkkL-0004ro-6N for guix-patches@gnu.org; Sat, 05 Jan 2019 07:08:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gfkkI-0004OF-1q for guix-patches@gnu.org; Sat, 05 Jan 2019 07:08:09 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:57338) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gfkkH-0004Ns-UH for guix-patches@gnu.org; Sat, 05 Jan 2019 07:08:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gfkkF-0008HL-Rd for guix-patches@gnu.org; Sat, 05 Jan 2019 07:08:05 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#33987] [PATCH] gnu: Add ghc-tldr. Resent-From: Gabriel Hondet Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 05 Jan 2019 12:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 33987 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 33987@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.154669006631789 (code B ref -1); Sat, 05 Jan 2019 12:08:02 +0000 Received: (at submit) by debbugs.gnu.org; 5 Jan 2019 12:07:46 +0000 Received: from localhost ([127.0.0.1]:47326 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gfkjy-0008Ge-Hi for submit@debbugs.gnu.org; Sat, 05 Jan 2019 07:07:46 -0500 Received: from eggs.gnu.org ([208.118.235.92]:41950) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gfkjx-0008GX-IC for submit@debbugs.gnu.org; Sat, 05 Jan 2019 07:07:45 -0500 Received: from listsout.gnu.org ([208.118.235.17]:54551) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gfkjx-0004Dh-Bn for submit@debbugs.gnu.org; Sat, 05 Jan 2019 07:07:45 -0500 Received: from eggsout.gnu.org ([209.51.188.92]:56847 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gfkjw-0004pQ-5J for guix-patches@gnu.org; Sat, 05 Jan 2019 07:07:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gfkjv-0004Cs-5g for guix-patches@gnu.org; Sat, 05 Jan 2019 07:07:43 -0500 Received: from mail-ed1-x544.google.com ([2a00:1450:4864:20::544]:39245) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gfkju-0004Cd-W0 for guix-patches@gnu.org; Sat, 05 Jan 2019 07:07:43 -0500 Received: by mail-ed1-x544.google.com with SMTP id b14so33900841edt.6 for ; Sat, 05 Jan 2019 04:07:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=user-agent:from:to:subject:date:message-id:mime-version; bh=r4ErMqF96gpcCeEXXNma0LbSe4qhqMISU7jyK1/9Ql8=; b=hczlkBQN7M5RTA5KiD6YZaL41rYNC0Db1HjuYBqNA/1fn7rnRdd3T8hdkm/1uP0mrv SWZWRv9jYKGdiXMo3mvTbaVF0G8mjCk+YGObVMjwlDDUDsJXec0YXYk8LfBjBLVVEUh0 EbJNQqBD2kLV2eWdCEaxOBT6w7VSGM8A54G8H8kvWF1o01LRwsUOsEcQnsi9aD47UoWO /PPzt3ZP42PIeH56/zTI2JIpuCVY0S84nTBVJCQnUO8nsgPQhNtYGjP5dcjAEx5C8A7O yjnvw5nsYLRBSu9YW6Gy30hDR2Fc1XOL/lIHXLPfHwuTll0nsceTW8LmuayLzz74anBz MIcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:user-agent:from:to:subject:date:message-id :mime-version; bh=r4ErMqF96gpcCeEXXNma0LbSe4qhqMISU7jyK1/9Ql8=; b=hibw1t2Bb2uS/7446iqryv6R5MDN308efEdpIO5+o2M/b7MM6jVDQuwqhL8GOScF1b 39VpoYHoHjE99/BsA+cBsYAMDYzB2jUTuUjgu3uEblxvyUJN+CxMcbOpDS21m26L45TP edoMjs07nHCh+RsU9QkvjfzjVlVYpe07BW71w5HE2WVRzKKT1DeaDuCiHKe88SS0y752 yEhwkqw7vgjUcLtSl9Dz+DZpX2AZPrJ0ZPAxidZRtCy6x5+hFxz5xmAns1azGm0MFegs qHoxMpLZOeij5fQJELV9McCt2oabSpXQXY2qOjTED0Tn+3ro8wWut46WvKuPCeeCvoMt n2TA== X-Gm-Message-State: AJcUukd5G3w8jkrZnLv1SchD154J22umiIbp5M7oGdzNkTUYCihprJnz 8QzkKd4waBYXLmYmS+IpWWbKRd9H X-Google-Smtp-Source: ALg8bN7X6WKbBFwviiflx494diIYqmHlCyR6eHdZnAlHL0ospqQ7eEhhrwjk828GsvLf8wOWh2ShAg== X-Received: by 2002:a50:b0a4:: with SMTP id j33mr44197761edd.267.1546690061747; Sat, 05 Jan 2019 04:07:41 -0800 (PST) Received: from glht-x240.gmail.com (2a01cb04062c860044e3e8429e102378.ipv6.abo.wanadoo.fr. [2a01:cb04:62c:8600:44e3:e842:9e10:2378]) by smtp.gmail.com with ESMTPSA id j31sm26486198eda.46.2019.01.05.04.07.40 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 05 Jan 2019 04:07:41 -0800 (PST) User-agent: mu4e 1.0; emacs 26.1 From: Gabriel Hondet Date: Sat, 5 Jan 2019 13:05:06 +0100 Message-ID: <878szz8fzn.fsf@gmail.com> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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: 208.118.235.43 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.scm (ghc-tldr): New variable. --- gnu/packages/haskell.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index 8d0e2aef6..9a05f2a5c 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -11365,4 +11365,37 @@ embedded in your Haskell code.") avoid the problem of partial intermediate files.") (license license:expat))) +(define-public ghc-tldr + (package + (name "ghc-tldr") + (version "0.4.0.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/tldr/tldr-" + version + ".tar.gz")) + (sha256 + (base32 + "0nc581y9jjzwd8l88g48c72mla7k6q1w102akl7gl5jsk9ljamd3")))) + (build-system haskell-build-system) + (inputs + `(("ghc-cmark" ,ghc-cmark) + ("ghc-text" ,ghc-text) + ("ghc-ansi-terminal" ,ghc-ansi-terminal) + ("ghc-optparse-applicative" + ,ghc-optparse-applicative) + ("ghc-typed-process" ,ghc-typed-process) + ("ghc-semigroups" ,ghc-semigroups))) + (native-inputs + `(("ghc-tasty" ,ghc-tasty) + ("ghc-tasty-golden" ,ghc-tasty-golden))) + (home-page + "https://github.com/psibi/tldr-hs#readme") + (synopsis "Haskell tldr client") + (description + "Haskell tldr client with support for updating and viewing tldr pages.") + (license license:bsd-3))) + ;;; haskell.scm ends here