From e75e699ec30fd7d9eab50dd2c98a3a25fe50ffc0 Mon Sep 17 00:00:00 2001 From: "(" Date: Fri, 21 Oct 2022 22:11:36 +0100 Subject: [PATCH] gnu: Add go-git-sr-ht-rockorager-tcell-term. * gnu/packages/golang.scm (go-git-sr-ht-rockorager-tcell-term): New variable. Signed-off-by: Raghav Gururajan --- gnu/packages/golang.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 6c01ba5e7f..b7c0acb9f6 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -6259,6 +6259,38 @@ systems.") (modify-inputs (package-inputs go-github-com-gdamore-tcell) (prepend go-golang-org-x-term go-golang-org-x-sys))))) +(define-public go-git-sr-ht-rockorager-tcell-term + (package + (name "go-git-sr-ht-rockorager-tcell-term") + (version "0.3.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://git.sr.ht/~rockorager/tcell-term") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "13nfb2mq59846j531j7p2nm8mi0kjw5p90pa89l3fwc0sljkn5p8")))) + (build-system go-build-system) + (arguments + (list #:import-path "git.sr.ht/~rockorager/tcell-term")) + (propagated-inputs + (list go-golang-org-x-sys + go-golang-org-x-term + go-gopkg-in-check-v1 + go-github-com-mattn-go-runewidth + go-github-com-davecgh-go-spew + go-github-com-stretchr-testify + go-github-com-gdamore-tcell-v2 + go-github-com-creack-pty)) + (home-page "https://git.sr.ht/~rockorager/tcell-term") + (synopsis "Terminal widget for @code{tcell}") + (description + "This package provides a virtual terminal widget for the @code{tcell} +Go library.") + (license license:expat))) + (define-public go-github-com-rivo-tview (package (name "go-github-com-rivo-tview")