[bug#72963,go-team,04/30] gnu: Add go-github-com-creack-pty-v2.

Message ID 20240902121843.31430-3-herman@rimm.ee
State New
Headers
Series None |

Commit Message

Herman Rimm Sept. 2, 2024, 12:18 p.m. UTC
  * gnu/packages/golang-web.scm (go-github-com-creack-pty-v2): Add
variable.
---
 gnu/packages/golang-web.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
  

Patch

diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 5fbf2fe41a..833d2b5a94 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -985,6 +985,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")