From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 2JcYHfo/tGIGHwAAbAwnHQ (envelope-from ) for ; Thu, 23 Jun 2022 12:27:06 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id SHQTHPo/tGKzKwAAG6o9tA (envelope-from ) for ; Thu, 23 Jun 2022 12:27:06 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 4B7A129851 for ; Thu, 23 Jun 2022 12:27:06 +0200 (CEST) Received: from localhost ([::1]:40438 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o4K2u-0000EG-U7 for larch@yhetil.org; Thu, 23 Jun 2022 06:26:44 -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 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: Dhruvin Gandhi X-ACL-Warn: , Dhruvin Gandhi via Guix-patches From: Dhruvin Gandhi via Guix-patches via Authentication-Results: aspmx1.migadu.com; none X-Migadu-Scanner: scn0.migadu.com X-TUID: UE+WobBNQD3n * 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))) -- 2.36.1