summaryrefslogtreecommitdiff
path: root/gnu/packages/golang-xyz.scm
diff options
context:
space:
mode:
authorDavid Thompson <davet@gnu.org>2025-06-02 12:21:20 +0200
committerLudovic Courtès <ludo@gnu.org>2025-06-17 15:17:17 +0200
commita57a72d415e36df96d8aaff1dae9c9c7cafb2567 (patch)
tree069eb294e97524b447bf6b35c9cd77989cf83194 /gnu/packages/golang-xyz.scm
parent3b7695653dc62a67772cb1fc83c1261682d0df1a (diff)
gnu: Add go-github-com-alecaivazis-survey-v2.
* gnu/packages/golang-xyz.scm (go-github-com-alecaivazis-survey-v2): New variable. Co-authored-by: Ludovic Courtès <ludo@gnu.org> Change-Id: I73fe4df3d2cabc6800c9da0f36d3350329d40178
Diffstat (limited to 'gnu/packages/golang-xyz.scm')
-rw-r--r--gnu/packages/golang-xyz.scm34
1 files changed, 34 insertions, 0 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 4336215070..19854f3670 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -853,6 +853,40 @@ Distance}.")
http://tartarus.org/~martin/PorterStemmer/index.html.")
(license license:expat)))
+(define-public go-github-com-alecaivazis-survey-v2
+ (package
+ (name "go-github-com-alecaivazis-survey")
+ (version "2.3.7")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/AlecAivazis/survey")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0l3wqphqvm0qxv33pj9f1r72z5fln99vg735fcigv8k513m2aw9l"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/AlecAivazis/survey"
+ #:unpack-path "github.com/AlecAivazis/survey"))
+ (propagated-inputs (list go-golang-org-x-text
+ go-golang-org-x-term
+ go-github-com-stretchr-testify
+ go-github-com-mgutz-ansi
+ go-github-com-mattn-go-isatty
+ go-github-com-kballard-go-shellquote
+ go-github-com-hinshun-vt10x
+ go-github-com-creack-pty
+ go-github-com-netflix-go-expect))
+ (home-page "https://github.com/AlecAivazis/survey")
+ (synopsis "Interactive and accessible terminal prompts for Go")
+ (description
+ "This package provides a library for building interactive and accessible prompts
+on terminals supporting ANSI escape sequences.")
+ (license license:expat)))
+
(define-public go-github-com-alecthomas-chroma
(package
(name "go-github-com-alecthomas-chroma")