guix_mirror_bot pushed a commit to branch master
in repository guix.

commit fcdb199e8c3f72aa05a115555c42f45de0e61509
Author: Danny Milosavljevic <[email protected]>
AuthorDate: Fri Dec 5 18:57:48 2025 +0100

    gnu: Add go-github-com-charmbracelet-huh.
    
    * gnu/packages/golang-xyz.scm (go-github-com-charmbracelet-huh): New 
variable.
    
    Change-Id: Ie4dbe379726c05a99ea56533e183a237f381646b
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/golang-xyz.scm | 41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 5cddfb5521..3bc694feb2 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -3797,6 +3797,47 @@ glamorous default themes.")
      "A simple, efficient spring animation library for smooth, natural 
motion.")
     (license license:expat)))
 
+(define-public go-github-com-charmbracelet-huh
+  (package
+    (name "go-github-com-charmbracelet-huh")
+    (version "0.8.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://github.com/charmbracelet/huh";)
+              (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "166j1hrspj74z0ffbw1zbwapisfq1zz7l0bkj8xsqa08rz7nspjv"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/charmbracelet/huh"
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'unpack 'remove-examples
+            (lambda* (#:key import-path #:allow-other-keys)
+              (delete-file-recursively
+               (string-append "src/" import-path "/examples")))))))
+    (native-inputs
+     (list go-github-com-charmbracelet-x-xpty))
+    (propagated-inputs
+     (list go-github-com-catppuccin-go
+           go-github-com-charmbracelet-bubbles
+           go-github-com-charmbracelet-bubbletea
+           go-github-com-charmbracelet-lipgloss
+           go-github-com-charmbracelet-x-ansi
+           go-github-com-charmbracelet-x-exp-strings
+           go-github-com-mitchellh-hashstructure-v2))
+    (home-page "https://github.com/charmbracelet/huh";)
+    (synopsis "Interactive terminal forms and prompts")
+    (description
+     "Huh is a library for building interactive terminal forms and prompts.
+It provides various input types including text inputs, selections, confirms,
+and multi-selects with a focus on user experience and aesthetics.")
+    (license license:expat)))
+
 (define-public go-github-com-charmbracelet-lipgloss
   (package
     (name "go-github-com-charmbracelet-lipgloss")

Reply via email to