From patchwork Fri Jun 25 19:52:52 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 30721 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 1728627BC81; Fri, 25 Jun 2021 20:54:36 +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,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 D99E327BC78 for ; Fri, 25 Jun 2021 20:54:35 +0100 (BST) Received: from localhost ([::1]:37204 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lwruM-000470-VD for patchwork@mira.cbaines.net; Fri, 25 Jun 2021 15:54:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45858) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lwrtt-0003a2-28 for guix-patches@gnu.org; Fri, 25 Jun 2021 15:54:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35325) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lwrts-0005hL-Q4 for guix-patches@gnu.org; Fri, 25 Jun 2021 15:54:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lwrts-00069u-Qm for guix-patches@gnu.org; Fri, 25 Jun 2021 15:54:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49210] [PATCH v2 09/16] gnu: Add perl-term-ansicolor. Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 25 Jun 2021 19:54:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49210 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 49210@debbugs.gnu.org Cc: Raghav Gururajan Received: via spool by 49210-submit@debbugs.gnu.org id=B49210.162465081023511 (code B ref 49210); Fri, 25 Jun 2021 19:54:04 +0000 Received: (at 49210) by debbugs.gnu.org; 25 Jun 2021 19:53:30 +0000 Received: from localhost ([127.0.0.1]:46847 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lwrtK-000672-0o for submit@debbugs.gnu.org; Fri, 25 Jun 2021 15:53:30 -0400 Received: from out1.migadu.com ([91.121.223.63]:64693) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lwrtF-00065A-15 for 49210@debbugs.gnu.org; Fri, 25 Jun 2021 15:53:25 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raghavgururajan.name; s=key1; t=1624650804; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ckqO2AQM+jcUMbCoobEHlk9iGOyeGK0x4Y4v1vW2410=; b=ROAx1TT0MUxhdGxZcZ0J1uwwtqSYFo2vvidvQwhdberHh5v+4TQaYTyihk94mU/UtxkGU0 tOnpBTrnswupjXjVnUK0eol3lJuo2oGtsmEfyB+U6+bh4GlViiojEnevilq7yRq6LNFueG qIq87ic/BasDImS9a8ty6ZSAY//95lyw8Wc299gCuHYmrZuoGulZbfUavFrWcSUfOLqIXN ih4yD/XwBOqd/G0FjXm1ILiY4fsW9kLk1YGHmK89Rx1WxA7dDKXj6igifwYZxq8eNTn+D1 chXS7n9cAWB6ax3Oa/EoEopaIyTT2O7/3lIaVfGSeqrXeXkTUjz1u+MdI+vauw== Date: Fri, 25 Jun 2021 15:52:52 -0400 Message-Id: <20210625195259.18741-9-rg@raghavgururajan.name> In-Reply-To: <20210625195259.18741-1-rg@raghavgururajan.name> References: <20210625195259.18741-1-rg@raghavgururajan.name> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: rg@raghavgururajan.name 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" Reply-to: Raghav Gururajan X-ACL-Warn: , Raghav Gururajan via Guix-patches X-Patchwork-Original-From: Raghav Gururajan via Guix-patches via From: Raghav Gururajan X-getmail-retrieved-from-mailbox: Patches * gnu/packages/perl.scm (perl-term-ansicolor): New variable. --- gnu/packages/perl.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index 97a7e14a69..dc681865ac 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -9836,6 +9836,30 @@ situations, where you may need to upgrade to the full feature set in the future, or if you want the retain the familiarity of TT-style templates.") (license license:perl-license))) +(define-public perl-term-ansicolor + (package + (name "perl-term-ansicolor") + (version "5.01") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/R/RR/RRA/" + "Term-ANSIColor-" version ".tar.gz")) + (sha256 + (base32 "0zgj329kfrwcyqn491v04x65yjydwfc4845a71f8hypdrj3vv0b2")))) + (build-system perl-build-system) + (native-inputs + `(("perl-test-warn" ,perl-test-warn))) + (home-page "https://metacpan.org/dist/Term-ANSIColor") + (synopsis "Interface to the ANSI terminal escape sequences for color") + (description "Term::ANSIColor provides constants and simple functions for +setting ANSI text attributes, most notably colors. It can be used to set the +current text attributes or to apply a set of attributes to a string and reset +the current text attributes at the end of that string. Eight-color, +sixteen-color, 256-color, and true color (24-bit color) escape sequences are all +supported.") + (license (package-license perl)))) + (define-public perl-term-encoding (package (name "perl-term-encoding")