@@ -63,6 +63,7 @@
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages pulseaudio)
#:use-module (gnu packages textutils)
+ #:use-module ((gnu packages syncthing) #:select (go-github-com-kballard-go-shellquote))
#:use-module (gnu packages tls)
#:use-module (gnu packages web)
#:use-module (ice-9 match)
@@ -7136,3 +7137,51 @@ manage process lifecycle. This package only focuses on expecting output and
sending input through it's pseudoterminal.")
(license license:asl2.0)))
+(define-public go-github-com-alecaivazis-survey-v2
+ (package
+ (name "go-github-com-alecaivazis-survey-v2")
+ (version "2.2.9")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/AlecAivazis/survey.git")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1jw4ka44q7a2885fil4qnb56mdlixmy5ysd68i5h5dblbq4r61l1"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/AlecAivazis/survey"))
+ (native-inputs
+ `(("go-golang-org-x-text" ,go-golang-org-x-text)
+ ("go-golang-org-x-sys" ,go-golang-org-x-sys)
+ ("go-golang-org-x-crypto"
+ ,go-golang-org-x-crypto)
+ ("go-github-com-stretchr-testify"
+ ,go-github-com-stretchr-testify)
+ ("go-github-com-pmezard-go-difflib"
+ ,go-github-com-pmezard-go-difflib)
+ ("go-github-com-mgutz-ansi"
+ ,go-github-com-mgutz-ansi)
+ ("go-github-com-mattn-go-isatty"
+ ,go-github-com-mattn-go-isatty)
+ ("go-github-com-mattn-go-colorable"
+ ,go-github-com-mattn-go-colorable)
+ ("go-github-com-kr-pty" ,go-github-com-kr-pty)
+ ("go-github-com-kballard-go-shellquote"
+ ,go-github-com-kballard-go-shellquote)
+ ("go-github-com-hinshun-vt10x"
+ ,go-github-com-hinshun-vt10x)
+ ("go-github-com-davecgh-go-spew"
+ ,go-github-com-davecgh-go-spew)
+ ("go-github-com-netflix-go-expect"
+ ,go-github-com-netflix-go-expect)))
+ (home-page
+ "https://github.com/AlecAivazis/survey")
+ (synopsis "Build interactive prompts on terminals")
+ (description "This is a library for building interactive prompts on
+terminals supporting ANSI escape sequences.")
+ (license license:expat)))
+