summaryrefslogtreecommitdiff
path: root/gnu/packages/golang-xyz.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-07-09 08:04:06 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-07-22 20:13:05 +0100
commit1d4e2e81849df83f66d2a7c719e474dd312094c7 (patch)
treecbfa8b33076465f20338d654b725ff329846ff4e /gnu/packages/golang-xyz.scm
parentac6f5d63b87dfc4a155f8363a408c1da5d1a4fc2 (diff)
gnu: Add go-github-com-moby-term.
* gnu/packages/golang-xyz.scm (go-github-com-moby-term): New variable. Change-Id: I57671d2ef47dc2861cbcd3d2110da6933cc79622
Diffstat (limited to 'gnu/packages/golang-xyz.scm')
-rw-r--r--gnu/packages/golang-xyz.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 301ea5a80e..58a5213036 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -13029,6 +13029,34 @@ related files.")
running in a Linux user namespace.")
(license license:asl2.0)))
+(define-public go-github-com-moby-term
+ (package
+ (name "go-github-com-moby-term")
+ (version "0.5.2")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/moby/term")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "05g3dn1hbk9vxzp3dm752j8zn1gy61qzxm33nsj7xisa8s6v8vgw"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/moby/term"))
+ (propagated-inputs
+ (list ;; go-github-com-azure-go-ansiterm ; for Windows only
+ go-github-com-creack-pty
+ go-golang-org-x-sys))
+ (home-page "https://github.com/moby/term")
+ (synopsis "Utilities for dealing with terminals")
+ (description
+ "Package term provides structures and helper functions to work with
+terminal (state, sizes).")
+ (license license:asl2.0)))
+
(define-public go-github-com-modern-go-concurrent
(package
(name "go-github-com-modern-go-concurrent")