From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 2P1bDwoFT2e9BwEAe85BDQ:P1 (envelope-from ) for ; Tue, 03 Dec 2024 13:18:02 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id 2P1bDwoFT2e9BwEAe85BDQ (envelope-from ) for ; Tue, 03 Dec 2024 14:18:02 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=l8oEFqdE; dkim=fail ("headers rsa verify failed") header.d=rimm.ee header.s=herman header.b=fwlxhvgz; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1733231882; a=rsa-sha256; cv=none; b=s4RBEagSpjLnawipBLhMZyWmll8ANe2azt3QUjXbvHwYb86KknJ8HsiqqJSykkF1qLv1Ep rDTOzC60JyQyevYLVIVr4xxAVTEpfc8Y0i5pnrXqpF1rS7LYMAzEZJ7FkkD5QrQZv8STHR 4oy5J9KS+OUCPz4abrFNaZuAzDfX9yTxXwyNFjGReKP4IYls7+NlgC73h/CWQUtJDwUfuV iUWYZpvs/MjStttbhwRFTn82mjrtSOj8114DQpZgienCptNwn36FR6B/LzmEANRFWdpKip 90N0UGdNO1b6/4QqYwNYTMfYVfVhPL+nFwmTTQF2oHw294IjizsAIMr6UU2ccg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=l8oEFqdE; dkim=fail ("headers rsa verify failed") header.d=rimm.ee header.s=herman header.b=fwlxhvgz; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1733231882; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=QGxF57t7p5mqwKvO+taMpUZ4puqjsUZQPZoYO8mh4fQ=; b=hMmnrUR1srqmBEYFWTBgptBjSUS2w+nxLlA7qkPpm/JK8XvIx740MIYHoOXMhqesw8r2x9 A64GyEN0Y8XnpWLlputIB2iaEjGZ4r3x5d8FQGp71x2wmgGKnYfAyz2l42nVxilendmcXH YmeGbGq/SH1Np9bqaW6oZKmlic2uNVwWMBxVjVxPcGmQ4d989qtDFHFT0Wmkgzes5plimi Wkc9HUh0wMpSQPzKg2I+kcSbvDevbzEkeaaHAmeGehGLF79U4661xGg0xwWiI0MOJvedEs ntuUd53PITr0CqHJ2HuaWQVqAcUNvc1CnobIZstoObOce2l9wwqO+6o3vSfxqA== 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 0BC6930CDF for ; Tue, 03 Dec 2024 14:18:02 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tISmC-0007uE-F8; Tue, 03 Dec 2024 08:17:16 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tISm8-0007lk-VQ for guix-patches@gnu.org; Tue, 03 Dec 2024 08:17:13 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tISm7-0006lI-Nq for guix-patches@gnu.org; Tue, 03 Dec 2024 08:17:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=QGxF57t7p5mqwKvO+taMpUZ4puqjsUZQPZoYO8mh4fQ=; b=l8oEFqdEeiYo8RTkDYQ4Kh1CBUAZ6eF8p4Aero+d6LZxEMeAuAJ+o8/Er9xJk7Meyn2v4m2Se8VLTJDbyVA9hnPGGZxBvaSVQUXRvoODY1i9HJowpSawPk1EDf+vS18u0nxH9TVGAItkyYQsm3Mcawuh07cCxf7ihA8QuLwVpitd7pgjjptqHYCUiBpNbD+hM/CHDg0jKxEU/Sh03mZlr2Pq4psLfopBeSTmDq8CjW/MwS+TiPKGLXSlHaAbGos2eto7C7wzH5+Swt98uHt9EZND/mY3rMlGX5sWHvUtlRkbThzT8nsAlMnGVMTRJC8mh56qmYBEPnW6V1hzxDc8oQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tISm7-0005uz-H3 for guix-patches@gnu.org; Tue, 03 Dec 2024 08:17:11 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#72963] [PATCH go-team v2 20/22] gnu: Add go-github-com-muesli-ansi. Resent-From: Herman Rimm Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 03 Dec 2024 13:17:11 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72963 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72963@debbugs.gnu.org Received: via spool by 72963-submit@debbugs.gnu.org id=B72963.173323178422521 (code B ref 72963); Tue, 03 Dec 2024 13:17:11 +0000 Received: (at 72963) by debbugs.gnu.org; 3 Dec 2024 13:16:24 +0000 Received: from localhost ([127.0.0.1]:58667 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tISlL-0005r5-Uo for submit@debbugs.gnu.org; Tue, 03 Dec 2024 08:16:24 -0500 Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:38731 helo=email.rimm.ee) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tISl9-0005mS-F7 for 72963@debbugs.gnu.org; Tue, 03 Dec 2024 08:16:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1733231762; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=QGxF57t7p5mqwKvO+taMpUZ4puqjsUZQPZoYO8mh4fQ=; b=fwlxhvgzAnoJ8jaZXOmKydKcZlYhnDi5ZCkUytVpwnoGtg0HJMCt+kDW9br51fP5EDKTGf yqmJhhgkPwD9m+xckRCHVyLUO//4OJpAHj3bwUjOohjXXVAxsRbTVWJdEdJYTx8qSTr0Mw 1/87Mf2Qiy0uqObJ+9SyQq1FwOtpEnuLWfCz1q+oG0X4z6eVtri964abkwMGfaDRYxPynf bMaFMEosJBKH+cA2aQz/sfXOO+pbsm5HS7yYmMPFMBW5hHIJV4fvrjZiBF9sTAAHuMehgp UxeEL8O8daZL2J3iIHtd5IG13EKYmRTsOCsML3Jdevi59Ft7InB9xBmPH68htQ== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id 29df76f0 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO) for <72963@debbugs.gnu.org>; Tue, 3 Dec 2024 13:16:02 +0000 (UTC) Date: Tue, 3 Dec 2024 14:15:05 +0100 Message-ID: <0da9bb9e92dfce9e0f073a3bbbb2e88e1b0e089e.1733231503.git.herman@rimm.ee> X-Mailer: git-send-email 2.45.2 In-Reply-To: <7c01523b8cdf9969afe5f754d943c4f056c886e0.1733231503.git.herman@rimm.ee> References: <7c01523b8cdf9969afe5f754d943c4f056c886e0.1733231503.git.herman@rimm.ee> 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: , Reply-to: Herman Rimm X-ACL-Warn: , Herman Rimm via Guix-patches From: Herman Rimm via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: 0.85 X-Spam-Score: 0.85 X-Migadu-Queue-Id: 0BC6930CDF X-Migadu-Scanner: mx12.migadu.com X-TUID: CG2URdUDuuQB * gnu/packages/golang.scm (go-github-com-muesli-ansi): Add variable. --- gnu/packages/golang.scm | 89 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 89 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 3c6cea7219..5796c7d83c 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -5763,6 +5763,95 @@ (define-public go-github-com-bmatcuk-doublestar-v4 (list #:import-path "github.com/bmatcuk/doublestar/v4")))) +(define-public go-github-com-muesli-ansi + (package + (name "go-github-com-muesli-ansi") + (version "0.0.0-20230316100256-276c6243b2f6") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/muesli/ansi") + (commit (go-version->git-ref version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1jr8kgn3vb72jmf4a8n52g876mfpbvk3310p8gsg7jkn338af4m9")))) + (build-system go-build-system) + (arguments (list #:import-path "github.com/muesli/ansi")) + (propagated-inputs (list go-github-com-mattn-go-runewidth)) + (home-page "https://github.com/muesli/ansi") + (synopsis "Raw ANSI sequence helpers") + (description "This package provides raw ANSI sequence helpers.") + (license license:expat))) + +(define-public go-github-com-muesli-reflow + (package + (name "go-github-com-muesli-reflow") + (version "0.3.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/muesli/reflow") + (commit (string-append "v" version)))) + (file-name (git-file-name "go-github-com-muesli-reflow" version)) + (sha256 + (base32 "09zcz2cqdwgj1ilya5pqwndryk6lansn87x63fcm8j1xn74vd2ry")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/muesli/reflow" + #:phases + #~(modify-phases %standard-phases + ;; XXX: Workaround for go-build-system's lack of Go modules + ;; support. + (delete 'build) + (replace 'check + (lambda* (#:key tests? import-path #:allow-other-keys) + (when tests? + (with-directory-excursion (string-append "src/" import-path) + (invoke "go" "test" "-v" "./...")))))))) + (propagated-inputs + (list go-github-com-mattn-go-runewidth)) + (home-page "https://github.com/muesli/reflow/") + (synopsis "Collection of methods helping to transform blocks of text") + (description + "This package provides a collection of ANSI-aware methods and io.Writers +helping you to transform blocks of text.") + (license license:expat))) + +(define-public go-github-com-muesli-termenv + (package + (name "go-github-com-muesli-termenv") + (version "0.15.2") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/muesli/termenv") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "19yhli6k79aqpra4djp0cl4q76mqxbc1f7in20y0dzhnjb7yz42p")))) + (build-system go-build-system) + (arguments + `(#:import-path "github.com/muesli/termenv")) + (propagated-inputs + (list go-github-com-aymanbagabas-go-osc52-v2 + go-github-com-lucasb-eyer-go-colorful + go-github-com-mattn-go-isatty + go-github-com-mattn-go-runewidth + go-golang-org-x-sys)) + (home-page "https://github.com/muesli/termenv/") + (synopsis "Advanced styling options on the terminal") + (description "termenv lets you safely use advanced styling options on the +terminal. It gathers information about the terminal environment in terms of +its ANSI and color support and offers you convenient methods to colorize and +style your output, without you having to deal with all kinds of weird ANSI +escape sequences and color conversions.") + (license license:expat))) + (define-public go-github-com-olekukonko-tablewriter (package (name "go-github-com-olekukonko-tablewriter") -- 2.45.2