Subject: [PATCH 3/7] gnu: Add go-github-com-containerd-console.

From: jgart <[email-masked]>
Date: Sun, 26 Sep 2021 04:44:43 -0400

From: Guix Together <[email-masked]>

* gnu/packages/golang.scm (go-github-com-containerd-console): New variable.

Co-authored-by: jgart <[email-masked]>
Co-authored-by: Gábor Boskovits <[email-masked]>
---
 gnu/packages/golang.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 0ab20238e8..e4bacfc92a 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -3347,6 +3347,31 @@ for simple and complex terminal applications, either inline, full-window,
 or a mix of both.")
     (license license:asl2.0)))
 
+(define-public go-github-com-containerd-console
+  (package
+    (name "go-github-com-containerd-console")
+    (version "1.0.3")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/containerd/console")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "0pgx0y8x23jwc2f9jfk5hd5aslqk599nj6c7dj5846xvnkz2x7p2"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:import-path "github.com/containerd/console"))
+    (propagated-inputs
+     `(("golang.org/x/sys" ,go-golang-org-x-sys)))
+    (home-page "https://github.com/containerd/console")
+    (synopsis "Console package for Go")
+    (description 
+"Golang package for dealing with consoles. Light on deps and a simple API.")
+    (license license:asl2.0)))
+
 (define-public go-github-com-spf13-cobra
   (package
     (name "go-github-com-spf13-cobra")
-- 
2.33.0