From patchwork Thu Jun 24 14:45:49 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 30675 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 E30B927BC81; Thu, 24 Jun 2021 15:47:42 +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 AC80027BC78 for ; Thu, 24 Jun 2021 15:47:42 +0100 (BST) Received: from localhost ([::1]:53748 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lwQdp-0003TY-Oh for patchwork@mira.cbaines.net; Thu, 24 Jun 2021 10:47:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35572) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lwQdF-0002jM-OJ for guix-patches@gnu.org; Thu, 24 Jun 2021 10:47:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60444) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lwQdF-0001Vi-GR for guix-patches@gnu.org; Thu, 24 Jun 2021 10:47:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lwQdF-0003nI-G3 for guix-patches@gnu.org; Thu, 24 Jun 2021 10:47:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49210] [PATCH v1 09/16] gnu: Add perl-term-ansicolor. Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 24 Jun 2021 14:47:05 +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.162454598714424 (code B ref 49210); Thu, 24 Jun 2021 14:47:05 +0000 Received: (at 49210) by debbugs.gnu.org; 24 Jun 2021 14:46:27 +0000 Received: from localhost ([127.0.0.1]:43735 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lwQcd-0003kU-1D for submit@debbugs.gnu.org; Thu, 24 Jun 2021 10:46:27 -0400 Received: from out0.migadu.com ([94.23.1.103]:56117) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lwQcJ-0003is-HL for 49210@debbugs.gnu.org; Thu, 24 Jun 2021 10:46:07 -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=1624545967; 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=Xc4lkYaveVyR7P8lIx9QUJ2us/35bnISoLrPtYXLV1yHtYQNNc3qJ0RgRQB2AVG5SMRz9r +DK74xcz0C0iUEkrA+3+/ZlnDBY65f8a6jT1BXVUc5qTZ3NDzj3zOSGzo+lx/sjBBXbgbZ NCnhC0Q8b/0xKbkjXAVzPmO8IACZ8zmVch+6mOe0YRcobwsIoRceBwF1i/B191/9J5c8oz 2xaTd1w/9nNGSvYSMZAaTbqy5ClnAkYuaSfAK2kF40cMCz6eR56yZEGuQpQw4p+JNgW80t DIc6zmvz7GXnT4bfRJevC7z270pRQ5vOgIpTGAXd+jqADPMqzDXjm/kwwrKxJg== Date: Thu, 24 Jun 2021 10:45:49 -0400 Message-Id: <20210624144556.9671-9-rg@raghavgururajan.name> In-Reply-To: <20210624144556.9671-1-rg@raghavgururajan.name> References: <20210624144556.9671-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")