Subject: [PATCH 1/4] gnu: Add go-github-com-schollz-progressbar-v3.

From: Sergey Trofimov <[email-masked]>
Date: Mon, 20 Mar 2023 23:51:30 +0100

* gnu/packages/golang.scm (go-github-com-schollz-progressbar-v3):
New variable.
---
 gnu/packages/golang.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index c75fdb4a31..e9187a14e9 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -11304,6 +11304,38 @@ (define-public go-sigs-k8s-io-yaml
 @url{https://github.com/ghodss/yaml,ghodss/yaml}.")
     (license (list license:expat license:bsd-3))))
 
+(define-public go-github-com-schollz-progressbar-v3
+  (package
+    (name "go-github-com-schollz-progressbar-v3")
+    (version "3.13.1")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/schollz/progressbar")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1hjahr5r52i7w6iyvl3rpzr46iignhfdh4694fl7m2b4gkaw9gd6"))))
+    (build-system go-build-system)
+    (arguments
+     '(#:import-path "github.com/schollz/progressbar/v3"
+       #:tests? #f))
+    (propagated-inputs (list go-golang-org-x-term
+                             go-github-com-stretchr-testify
+                             go-github-com-mitchellh-colorstring
+                             go-github-com-mattn-go-runewidth
+                             go-github-com-mattn-go-isatty
+                             go-github-com-k0kubun-go-ansi
+                             go-github-com-davecgh-go-spew))
+    (home-page "https://github.com/schollz/progressbar")
+    (synopsis "Simple cross-platform progress bar.")
+    (description
+     "This package provides a very simple thread-safe progress bar which should work
+on every OS without problems.  In order to be OS agnostic support of multi-line
+outputs is not provided.")
+    (license license:expat)))
+
 (define-public go-git-sr-ht-emersion-go-scfg
   (package
     (name "go-git-sr-ht-emersion-go-scfg")
-- 
2.39.2