@@ -7081,3 +7081,28 @@ larged been influenced by st, rxvt, xterm, and iTerm as reference.")
(description "Pty is a Go package for using Unix pseudo-terminals.")
(license license:expat)))
+;; Deprecated in favor of 'go-github-com-creack-pty', but needed by github-cli
+(define-public go-github-com-kr-pty
+ (hidden-package
+ (package
+ (name "go-github-com-kr-pty")
+ (version "1.1.8")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/kr/pty.git")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name "go-github-com-kr-pty" version))
+ (sha256
+ (base32
+ "1vcl6f90n0f8s8b4fyh0832ilybjqcypqyj233lqj1hx62fvgdbk"))))
+ (build-system go-build-system)
+ (arguments '(#:import-path "github.com/kr/pty"))
+ (propagated-inputs
+ `(("go-github-com-creack-pty" ,go-github-com-creack-pty)))
+ (home-page "https://github.com/kr/pty")
+ (synopsis "PTY interface for Go")
+ (description "Pty is a Go package for using Unix pseudo-terminals.")
+ (license license:expat))))
+