From patchwork Thu Jun 23 09:38:07 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dhruvin Gandhi X-Patchwork-Id: 40259 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 0AC9527BBEA; Thu, 23 Jun 2022 11:27:09 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id C0D5327BBE9 for ; Thu, 23 Jun 2022 11:27:08 +0100 (BST) Received: from localhost ([::1]:40438 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o4K3F-0000EG-JH for patchwork@mira.cbaines.net; Thu, 23 Jun 2022 06:27:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47492) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o4JIm-0001C6-Ln for guix-patches@gnu.org; Thu, 23 Jun 2022 05:39:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43552) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o4JIm-0006xH-3L for guix-patches@gnu.org; Thu, 23 Jun 2022 05:39:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o4JIm-0000lj-1H for guix-patches@gnu.org; Thu, 23 Jun 2022 05:39:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54882] [PATCH v4 5/6] gnu: Add go-github-com-lunixbochs-vtclean. Resent-From: Dhruvin Gandhi Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 23 Jun 2022 09:39:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54882 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54882@debbugs.gnu.org Cc: Dhruvin Gandhi Received: via spool by 54882-submit@debbugs.gnu.org id=B54882.16559771382910 (code B ref 54882); Thu, 23 Jun 2022 09:39:03 +0000 Received: (at 54882) by debbugs.gnu.org; 23 Jun 2022 09:38:58 +0000 Received: from localhost ([127.0.0.1]:37443 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o4JIf-0000kl-D4 for submit@debbugs.gnu.org; Thu, 23 Jun 2022 05:38:57 -0400 Received: from out1.migadu.com ([91.121.223.63]:64617) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o4JIV-0000k7-6U for 54882@debbugs.gnu.org; Thu, 23 Jun 2022 05:38:47 -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=dhruvin.dev; s=key1; t=1655977126; 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=GNEznkHS485Axg7ECbXaHx4eCB5Crgqh4QVJ/FwFf5g=; b=nvIQeb8qx6V47v8A0762e1sAD646LE5D8+vbELCgdk3V8EGWHceFRfjNIe7W2n4F7KRwD4 toB6Ub5M6SicP1mS1WI61xsnpczfHZhlOtjg5Z6MJdPTWAmi1hxCJChLyn5dolrD62YGou +Zvj+9Si5lMYx4N1wtNdmBKsh7Y6BBY= Date: Thu, 23 Jun 2022 15:08:07 +0530 Message-Id: <20220623093808.21573-5-contact@dhruvin.dev> In-Reply-To: <20220623093808.21573-1-contact@dhruvin.dev> References: <20220623093808.21573-1-contact@dhruvin.dev> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: dhruvin.dev 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: Dhruvin Gandhi X-ACL-Warn: , Dhruvin Gandhi via Guix-patches X-Patchwork-Original-From: Dhruvin Gandhi via Guix-patches via From: Dhruvin Gandhi X-getmail-retrieved-from-mailbox: Patches * gnu/packages/golang.scm (go-github-com-lunixbochs-vtclean): New variable. --- gnu/packages/golang.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index c393e91fbe..214c33421f 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -9937,3 +9937,25 @@ (define-public go-github-com-juju-ansiterm "Package ansiterm provides a Writer that writes out the ANSI escape codes for color and styles.") (license license:lgpl3))) + +(define-public go-github-com-lunixbochs-vtclean + (package + (name "go-github-com-lunixbochs-vtclean") + (version "1.0.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/lunixbochs/vtclean") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0jqn33l1kzy4dk66zbvxz7rlgkgg34s9mhc8z0lrz0i88466zhd8")))) + (build-system go-build-system) + (arguments (list #:import-path "github.com/lunixbochs/vtclean")) + (home-page "https://github.com/lunixbochs/vtclean") + (synopsis "Filter out terminal escape sequences") + (description + "Clean up raw terminal output by stripping escape sequences, optionally +preserving color.") + (license license:expat)))