guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#72963] [PATCH go-team 29/30] gnu: go-github-com-charmbracelet-bubbl


From: Herman Rimm
Subject: [bug#72963] [PATCH go-team 29/30] gnu: go-github-com-charmbracelet-bubbletea: Update to 0.26.6.
Date: Mon, 2 Sep 2024 14:18:37 +0200

* gnu/packages/golang.scm (go-github-com-charmbracelet-bubbletea):
Update from 0.13.2 to 0.26.6.
[propagated-inputs]: Replace all but go-golang-org-x-sys.  Use new style
of inputs.
[description]: Replace beginning sentence and add end sentence.
[license]: Switch from ASL 2.0 to MIT.
---
 gnu/packages/golang.scm | 48 +++++++++++++++++++++--------------------
 1 file changed, 25 insertions(+), 23 deletions(-)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index a84cb07c0d..ebd5ec39bc 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -7631,7 +7631,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 "0.26.6")
     (source
      (origin
        (method git-fetch)
@@ -7641,35 +7641,37 @@ (define-public go-github-com-charmbracelet-bubbletea
        (file-name (git-file-name name version))
        (sha256
         (base32
-         "1105cggi5fwqx69m0vrhgwx6kaw82w4ahn58sj0a81603c4yvrk0"))))
+         "0flhyav8adcm1vzhrm7npkfmcia25gikiw5cq4w41yh66h9wpkin"))))
     (build-system go-build-system)
     (arguments
      (list
       #:import-path "github.com/charmbracelet/bubbletea"
-      #:phases #~(modify-phases %standard-phases
-                   (add-after 'unpack 'remove-examples
-                     (lambda* (#:key import-path #:allow-other-keys)
-                       (with-directory-excursion (string-append "src/" 
import-path)
-                         (for-each delete-file-recursively
-                                   '("examples" "tutorials"))))))))
-    (propagated-inputs
-     `(("github.com/mattn/go-isatty" ,go-github-com-mattn-go-isatty)
-       ("github.com/muesli/termenv" ,go-github-com-muesli-termenv)
-       ("github.com/mattn/go-runewidth" ,go-github-com-mattn-go-runewidth)
-       ("go-github-com-muesli-reflow" ,go-github-com-muesli-reflow)
-       ("go-github-com-lucasb-eyer-go-colorful" 
,go-github-com-lucasb-eyer-go-colorful)
-       ("github.com/containerd/console" ,go-github-com-containerd-console)
-       ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)
-       ("go-golang-org-x-sys" ,go-golang-org-x-sys)
-       ("go-golang-org-x-term" ,go-golang-org-x-term)
-       ("github.com/mattn/go-isatty" ,go-github-com-mattn-go-isatty)))
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'unpack 'remove-examples
+            (lambda* (#:key import-path #:allow-other-keys)
+              (with-directory-excursion (string-append "src/"
+                                                       import-path)
+                (for-each delete-file-recursively
+                          '("examples" "tutorials"))))))))
+    (propagated-inputs (list go-golang-org-x-sys
+                             go-golang-org-x-sync
+                             go-github-com-muesli-cancelreader
+                             go-github-com-muesli-ansi
+                             go-github-com-mattn-go-localereader
+                             go-github-com-erikgeiser-coninput
+                             go-github-com-charmbracelet-x-input
+                             go-github-com-charmbracelet-x-term
+                             go-github-com-charmbracelet-x-ansi))
     (home-page "https://github.com/charmbracelet/bubbletea";)
     (synopsis "Powerful little TUI framework")
     (description
-     "Bubble Tea is a Go framework based on The Elm Architecture.  It is
-well-suited for simple and complex terminal applications, either inline,
-full-window, or a mix of both.")
-    (license license:asl2.0)))
+     "Bubble Tea is a Go framework for building rich terminal user
+interfaces based on the paradigms of the Elm architecture.  It's well-
+suited for simple and complex terminal applications, either inline,
+full-window, or a mix of both.  It's been battle-tested in several large
+projects and is production-ready.")
+    (license license:expat)))
 
 (define-public go-github-com-containerd-console
   (package
-- 
2.45.2






reply via email to

[Prev in Thread] Current Thread [Next in Thread]