From patchwork Wed Jun 30 03:17:46 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 30814 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 947D727BC81; Wed, 30 Jun 2021 04:20:05 +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 61F1027BC78 for ; Wed, 30 Jun 2021 04:20:05 +0100 (BST) Received: from localhost ([::1]:51294 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lyQlg-0004GR-FT for patchwork@mira.cbaines.net; Tue, 29 Jun 2021 23:20:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60084) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lyQkj-0002WK-5l for guix-patches@gnu.org; Tue, 29 Jun 2021 23:19:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44568) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lyQki-0003QT-TQ for guix-patches@gnu.org; Tue, 29 Jun 2021 23:19:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lyQki-00071P-Ow for guix-patches@gnu.org; Tue, 29 Jun 2021 23:19:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49210] [PATCH v3 09/16] gnu: Add perl-term-ansicolor. Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 30 Jun 2021 03:19: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.162502309826834 (code B ref 49210); Wed, 30 Jun 2021 03:19:04 +0000 Received: (at 49210) by debbugs.gnu.org; 30 Jun 2021 03:18:18 +0000 Received: from localhost ([127.0.0.1]:56092 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lyQjy-0006ye-EI for submit@debbugs.gnu.org; Tue, 29 Jun 2021 23:18:18 -0400 Received: from out0.migadu.com ([94.23.1.103]:31750) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lyQjl-0006wc-JR for 49210@debbugs.gnu.org; Tue, 29 Jun 2021 23:18:06 -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=1625023085; 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=XtEldtuh8loqiF5Gy1K2sL2V0iLsoZ6YEp3kftGxSTuBFmNc+U2VzgdNbrCI2baBJTVMW9 xqicriMJNResEEmPENQ4Wh2kKQc1VeD48f5YfhRzVfW9pW2h31PhR3LbXZ56w7x4gANb1c h1CP04Q41HAhS2KMbZqcCWPKKxb8AM+VuWmLbk3o8wf7/odFX+fzCEWT0yiDsdkcF4ebl6 LemolBW+iszNYKLsqeNkJvd1At8Fiw1D5C0OQ2dqpNfQV6wqrnq1dhFnL7EPgIN38yR4R1 PpnYo8WwZZiwdUw6DYGzaErOSIDFRkN8/HrXaqyWCvswC5SXGFAaMsm9W1NLdg== Date: Tue, 29 Jun 2021 23:17:46 -0400 Message-Id: <20210630031753.14653-9-rg@raghavgururajan.name> In-Reply-To: <20210630031753.14653-1-rg@raghavgururajan.name> References: <20210630031753.14653-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")