unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: "Artyom V. Poptsov" <poptsov.artyom@gmail.com>
To: 74495@debbugs.gnu.org
Cc: "Artyom V. Poptsov" <poptsov.artyom@gmail.com>
Subject: [bug#74495] [PATCH v2 15/16] gnu: go-github-com-charmbracelet-bubbletea: Update to 1.2.3.
Date: Sun, 24 Nov 2024 13:27:36 +0300	[thread overview]
Message-ID: <4a8985f97204d40f187337d99609ea13419c1131.1732444026.git.poptsov.artyom@gmail.com> (raw)
In-Reply-To: <a4c05791a07854423b4913ed7f7a1e2aa18f4523.1732444026.git.poptsov.artyom@gmail.com>

* gnu/packages/golang.scm (go-github-com-charmbracelet-bubbletea): Update to 1.2.3.
[propagated-inputs]: Add go-github-com-muesli-ansi,
go-github-com-muesli-cancelreader, go-github-com-charmbracelet-lipgloss,
go-github-com-charmbracelet-x-term, go-github-com-charmbracelet-x-ansi, and
go-golang-org-x-sync.  Sort inputs alphabetically.
[arguments] <phases>: Fix tests that are failing due to newer version of
"go-github-com-charmbracelet-x-ansi" package.

Change-Id: Ifdb3074f342b34c07c0e7ab47341b159d1eea0c2
---
 gnu/packages/golang.scm | 36 +++++++++++++++++++++++++++---------
 1 file changed, 27 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index df5111922b..401626326b 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -7030,7 +7030,7 @@ (define-public go-github-com-rivo-uniseg
 (define-public go-github-com-charmbracelet-bubbletea
   (package
     (name "go-github-com-charmbracelet-bubbletea")
-    (version "0.13.2")
+    (version "1.2.3")
     (source
      (origin
        (method git-fetch)
@@ -7040,7 +7040,7 @@ (define-public go-github-com-charmbracelet-bubbletea
        (file-name (git-file-name name version))
        (sha256
         (base32
-         "1105cggi5fwqx69m0vrhgwx6kaw82w4ahn58sj0a81603c4yvrk0"))))
+         "0ggkl29qixgin5av1mbnwfbb31kmwpczh8pgpjsx9z277fs55mph"))))
     (build-system go-build-system)
     (arguments
      (list
@@ -7050,18 +7050,36 @@ (define-public go-github-com-charmbracelet-bubbletea
                      (lambda* (#:key import-path #:allow-other-keys)
                        (with-directory-excursion (string-append "src/" import-path)
                          (for-each delete-file-recursively
-                                   '("examples" "tutorials"))))))))
+                                   '("examples" "tutorials")))))
+                   (add-before 'check 'fix-tests
+                     (lambda _
+                       ;; XXX: The package requires
+                       ;; "go-github-com-charmbracelet-x-ansi" version 0.4.5; with
+                       ;; the newer version of "ansi", some "bubbletea" screen tests
+                       ;; fail as "ansi" 0.5.2 handles escape sequences a little bit
+                       ;; differently.
+                       (substitute* "src/github.com/charmbracelet/bubbletea/screen_test.go"
+                         (("x1b\\[0K")
+                          "x1b[K")
+                         (("x1b\\[2;0H")
+                          "x1b[2;H")))))))
     (propagated-inputs
-     (list go-github-com-mattn-go-isatty
-           go-github-com-muesli-termenv
+     (list go-github-com-charmbracelet-lipgloss
+           go-github-com-charmbracelet-x-ansi
+           go-github-com-charmbracelet-x-term
+           go-github-com-containerd-console
+           go-github-com-lucasb-eyer-go-colorful
+           go-github-com-mattn-go-isatty
+           go-github-com-mattn-go-isatty
            go-github-com-mattn-go-runewidth
+           go-github-com-muesli-ansi
+           go-github-com-muesli-cancelreader
            go-github-com-muesli-reflow
-           go-github-com-lucasb-eyer-go-colorful
-           go-github-com-containerd-console
+           go-github-com-muesli-termenv
            go-golang-org-x-crypto
+           go-golang-org-x-sync
            go-golang-org-x-sys
-           go-golang-org-x-term
-           go-github-com-mattn-go-isatty))
+           go-golang-org-x-term))
     (home-page "https://github.com/charmbracelet/bubbletea")
     (synopsis "Powerful little TUI framework")
     (description
-- 
2.46.0





  parent reply	other threads:[~2024-11-24 11:05 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-23 18:27 [bug#74495] [PATCH 00/16] gnu: Add go-github-com-noahgorstein-jqp Artyom V. Poptsov
2024-11-23 18:28 ` [bug#74495] [PATCH 01/16] gnu: Add go-github-com-atotto-clipboard Artyom V. Poptsov
2024-11-23 18:28 ` [bug#74495] [PATCH 02/16] gnu: Add go-github-com-aymanbagabas-go-udiff Artyom V. Poptsov
2024-11-23 18:28 ` [bug#74495] [PATCH 03/16] gnu: Add go-github-com-makenowjust-heredoc Artyom V. Poptsov
2024-11-23 18:28 ` [bug#74495] [PATCH 04/16] gnu: Add go-github-com-kylelemons-godebug-pretty Artyom V. Poptsov
2024-11-23 18:28 ` [bug#74495] [PATCH 05/16] gnu: Add go-github-com-sahilm-fuzzy Artyom V. Poptsov
2024-11-23 18:28 ` [bug#74495] [PATCH 06/16] gnu: Add go-github-com-charmbracelet-x-ansi Artyom V. Poptsov
2024-11-23 18:28 ` [bug#74495] [PATCH 07/16] gnu: Add go-github-com-charmbracelet-x-exp-golden Artyom V. Poptsov
2024-11-23 18:28 ` [bug#74495] [PATCH 08/16] gnu: Add go-github-com-charmbracelet-lipgloss Artyom V. Poptsov
2024-11-23 18:28 ` [bug#74495] [PATCH 09/16] gnu: Add go-github-com-charmbracelet-bubbles Artyom V. Poptsov
2024-11-23 18:28 ` [bug#74495] [PATCH 10/16] gnu: go-github-com-itchyny-gojq: Install the library Artyom V. Poptsov
2024-11-23 18:28 ` [bug#74495] [PATCH 11/16] gnu: gojq: Install the binary only Artyom V. Poptsov
2024-11-23 18:28 ` [bug#74495] [PATCH 12/16] gnu: go-github-com-charmbracelet-bubbletea: Remove input labels Artyom V. Poptsov
2024-11-23 18:28 ` [bug#74495] [PATCH 13/16] gnu: Add go-github-com-charmbracelet-x-term Artyom V. Poptsov
2024-11-23 18:28 ` [bug#74495] [PATCH 14/16] gnu: Add go-github-com-muesli-ansi Artyom V. Poptsov
2024-11-23 18:28 ` [bug#74495] [PATCH 15/16] gnu: go-github-com-charmbracelet-bubbletea: Update to 1.2.3 Artyom V. Poptsov
2024-11-23 18:28 ` [bug#74495] [PATCH 16/16] gnu: Add go-github-com-noahgorstein-jqp Artyom V. Poptsov
2024-11-23 22:32 ` [bug#74495] [PATCH 00/16] " Sharlatan Hellseher
2024-11-24 10:27 ` [bug#74495] [PATCH v2 01/16] gnu: Add go-github-com-atotto-clipboard Artyom V. Poptsov
2024-11-24 10:27   ` [bug#74495] [PATCH v2 02/16] gnu: Add go-github-com-aymanbagabas-go-udiff Artyom V. Poptsov
2024-11-24 10:27   ` [bug#74495] [PATCH v2 03/16] gnu: Add go-github-com-makenowjust-heredoc Artyom V. Poptsov
2024-11-24 10:27   ` [bug#74495] [PATCH v2 04/16] gnu: Add go-github-com-kylelemons-godebug-pretty Artyom V. Poptsov
2024-11-24 10:27   ` [bug#74495] [PATCH v2 05/16] gnu: Add go-github-com-sahilm-fuzzy Artyom V. Poptsov
2024-11-24 10:27   ` [bug#74495] [PATCH v2 06/16] gnu: Add go-github-com-charmbracelet-x-ansi Artyom V. Poptsov
2024-11-24 10:27   ` [bug#74495] [PATCH v2 07/16] gnu: Add go-github-com-charmbracelet-x-exp-golden Artyom V. Poptsov
2024-11-24 10:27   ` [bug#74495] [PATCH v2 08/16] gnu: Add go-github-com-charmbracelet-lipgloss Artyom V. Poptsov
2024-11-24 10:27   ` [bug#74495] [PATCH v2 09/16] gnu: Add go-github-com-charmbracelet-bubbles Artyom V. Poptsov
2024-11-24 10:27   ` [bug#74495] [PATCH v2 10/16] gnu: go-github-com-itchyny-gojq: Install the library Artyom V. Poptsov
2024-11-24 10:27   ` [bug#74495] [PATCH v2 11/16] gnu: gojq: Install the binary only Artyom V. Poptsov
2024-11-24 10:27   ` [bug#74495] [PATCH v2 12/16] gnu: go-github-com-charmbracelet-bubbletea: Remove input labels Artyom V. Poptsov
2024-11-24 10:27   ` [bug#74495] [PATCH v2 13/16] gnu: Add go-github-com-charmbracelet-x-term Artyom V. Poptsov
2024-11-24 10:27   ` [bug#74495] [PATCH v2 14/16] gnu: Add go-github-com-muesli-ansi Artyom V. Poptsov
2024-11-24 10:27   ` Artyom V. Poptsov [this message]
2024-11-24 10:27   ` [bug#74495] [PATCH v2 16/16] gnu: Add go-github-com-noahgorstein-jqp Artyom V. Poptsov
2024-11-26 19:09 ` [bug#74495] [PATCH 00/16] " Artyom V. Poptsov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4a8985f97204d40f187337d99609ea13419c1131.1732444026.git.poptsov.artyom@gmail.com \
    --to=poptsov.artyom@gmail.com \
    --cc=74495@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).