diff options
| author | Danny Milosavljevic <dannym@friendly-machines.com> | 2025-12-05 18:57:48 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-02-05 23:54:16 +0000 |
| commit | fcdb199e8c3f72aa05a115555c42f45de0e61509 (patch) | |
| tree | 569b7d4d96a35312d4ba4580584240c71c03ce18 /gnu/packages | |
| parent | 673b8d6accbf0efc894ab8d2427317043c2c02cd (diff) | |
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 <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages')
| -rw-r--r-- | gnu/packages/golang-xyz.scm | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index 5cddfb55216..3bc694feb2a 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") |
