Subject: [bug#72963] [PATCH go-team v2 03/22] gnu: Add go-github-com-creack-pty-v2.

From: Herman Rimm <[email-masked]>
Date: Tue, 3 Dec 2024 14:14:48 +0100

* gnu/packages/golang-web.scm (go-github-com-creack-pty-v2): Add
variable.
---
 gnu/packages/golang-web.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index dbbdb427fd..93865ff1b8 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -1505,6 +1505,27 @@ (define-public go-github-com-emersion-go-smtp
 RFC 5321.")
     (license license:expat)))
 
+(define-public go-github-com-creack-pty-v2
+  (package
+    (name "go-github-com-creack-pty-v2")
+    (version "2.0.0-20240228220112-08e77a045af8")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/creack/pty")
+             (commit (go-version->git-ref version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "03g863r7nxxkg0c7jbv5pgr53g2bvx4f7x3ngypzr0aa9rjmh7ic"))))
+    (build-system go-build-system)
+    (arguments (list #:import-path "github.com/creack/pty/v2"))
+    (home-page "https://github.com/creack/pty")
+    (synopsis "Functions for working with Unix terminals")
+    (description
+     "Package pty provides functions for working with Unix terminals.")
+    (license license:expat)))
+
 (define-public go-github-com-emicklei-go-restful
   (package
     (name "go-github-com-emicklei-go-restful")
-- 
2.45.2