diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index eecee5300d..39ae07108b 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -3887,6 +3887,42 @@ also favors portability, and includes support for all POSIX systems.") (modify-inputs (package-inputs go-github-com-gdamore-tcell) (prepend go-golang-org-x-term go-golang-org-x-sys)))))) +(define-public go-github-com-gizak-termui-v3 + (package + (name "go-github-com-gizak-termui-v3") + (version "3.1.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/gizak/termui") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1v3k8l5p95kb1v297ra5mw9sxdd59y82y6ibjzya5ma2pry6k5cn")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/gizak/termui/v3" + #:unpack-path "github.com/gizak/termui")) + (propagated-inputs + (list go-github-com-mattn-go-runewidth + go-github-com-mitchellh-go-wordwrap + go-github.com-nsf-termbox-go)) + (home-page "https://github.com/gizak/termui") + (synopsis "Terminal dashboard widget Go library") + (description + "The termui Go library draws customizable dashboard widgets in a text +terminal. It includes several common widgets: lists, trees, tables and tabs, +but also more complex items such as (stacked) bar and pie charts, scatter +plots, gauges, and even images and a canvas for drawing `high resolution' +braille dots. + +You can also easily create new custom widgets. Widgets can be coloured and +styled and positioned absolutely or relatively. They respond to keyboard, +mouse, and terminal resizing events.") + (license license:expat))) + (define-public go-github-com-go-errors-errors (package (name "go-github-com-go-errors-errors") diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index a26fba3aa3..dd6669302b 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -2287,39 +2287,6 @@ for speed on short messages.") your Go binary to be later served from an http.FileSystem.") (license license:asl2.0))) -(define-public go-github-com-gizak-termui-v3 - (package - (name "go-github-com-gizak-termui-v3") - (version "3.1.0") - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/gizak/termui") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 "1v3k8l5p95kb1v297ra5mw9sxdd59y82y6ibjzya5ma2pry6k5cn")))) - (build-system go-build-system) - (arguments - '(#:unpack-path "github.com/gizak/termui" - #:import-path "github.com/gizak/termui/v3")) - (propagated-inputs - (list go-github-com-mattn-go-runewidth - go-github-com-mitchellh-go-wordwrap go-github.com-nsf-termbox-go)) - (home-page "https://github.com/gizak/termui") - (synopsis "Terminal dashboard widget Go library") - (description - "The termui Go library draws customizable dashboard widgets in a text -terminal. It includes several common widgets: lists, trees, tables and tabs, -but also more complex items such as (stacked) bar and pie charts, scatter plots, -gauges, and even images and a canvas for drawing `high resolution' braille dots. - -You can also easily create new custom widgets. Widgets can be coloured and -styled and positioned absolutely or relatively. They respond to keyboard, -mouse, and terminal resizing events.") - (license license:expat))) - (define-public go-github-com-golangplus-fmt (package (name "go-github-com-golangplus-fmt")