summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Norton <patrick.147.norton@gmail.com>2026-01-06 09:04:51 -0500
committerSharlatan Hellseher <sharlatanus@gmail.com>2026-04-30 21:34:00 +0100
commit5bf2cffbf77cf636a868464c6c708878bcd0008f (patch)
tree96d0f7bc6c922fbafdc0ff44da7bb8b7006bbd86
parent59fdaeb276b2d020019c7d6342b7cb7046f58ece (diff)
gnu: Add go-github-com-tailscale-goexpect.
* gnu/packages/golang-web.scm (go-github-com-tailscale-goexpect): New variable. Relates-to: https://codeberg.org/guix/guix/pulls/5417 Change-Id: I87146dd264a64e034b5e5cc82fc8856b31b1f9ff Reviewed-by: Arthur Rodrigues <arthurhdrodrigues@proton.me> Modified-by: Arthur Rodrigues <arthurhdrodrigues@proton.me> Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
-rw-r--r--gnu/packages/golang-web.scm37
1 files changed, 37 insertions, 0 deletions
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 229df2c983..eb7240fb26 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -17866,6 +17866,43 @@ Features:
@end itemize")
(license license:expat)))
+(define-public go-github-com-tailscale-goexpect
+ (package
+ (name "go-github-com-tailscale-goexpect")
+ (version "0.0.0-20210902213824-6e8c725cea41")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/tailscale/goexpect")
+ (commit (go-version->git-ref version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1q3npn5n51p3cxi1p87i8iqjw3mldwdg08wp1fk0y47m57m59yhh"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/tailscale/goexpect"
+ #:test-flags #~(list "-vet=off" )
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'fix-tests
+ (lambda* (#:key import-path #:allow-other-keys)
+ (substitute* (string-append "src/" import-path "/expect_test.go")
+ (("/bin/true") (which "true"))
+ (("/bin/false") (which "false"))
+ (("/bin/cat") (which "cat"))))))))
+ (propagated-inputs
+ (list go-golang-org-x-crypto
+ go-github-com-ziutek-telnet
+ go-github-com-google-goterm))
+ (home-page "https://github.com/tailscale/goexpect")
+ (synopsis "Classic TCL Expect implementation in Golang")
+ (description
+ "This package provides the classic @acronym{Tool Command Language, TCL}
+Expect implementation in Golang.")
+ (license license:bsd-3)))
+
(define-public go-github-com-tdewolff-minify-v2
(package
(name "go-github-com-tdewolff-minify-v2")