From: Sergey Trofimov <sarg@sarg.org.ru>
To: 62310@debbugs.gnu.org
Cc: Sergey Trofimov <sarg@sarg.org.ru>
Subject: [bug#62310] [PATCH v2 2/4] gnu: Add go-github-com-schollz-progressbar-v3.
Date: Tue, 21 Mar 2023 09:16:38 +0100 [thread overview]
Message-ID: <20230321081640.16012-1-sarg@sarg.org.ru> (raw)
In-Reply-To: <20230321080457.12236-1-sarg@sarg.org.ru>
* gnu/packages/golang.scm
(go-github-com-schollz-progressbar-v3): New variable.
---
gnu/packages/golang.scm | 41 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 3ac4863e85..8f0e202d71 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -11326,6 +11326,47 @@ (define-public go-github-com-mitchellh-colorstring
"Colorstring provides functions for colorizing strings for terminal output.")
(license license:expat)))
+(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
+ (list #:import-path "github.com/schollz/progressbar/v3"
+ #:phases
+ #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? import-path #:allow-other-keys)
+ (when tests?
+ ;; tests in the full suite require internet access
+ (invoke "go" "test" "-test.short" import-path))
+ #t)))))
+ (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-davecgh-go-spew))
+ (home-page "https://github.com/schollz/progressbar")
+ (synopsis "Simple CLI progress bar")
+ (description
+ "This package provides a very simple thread-safe progress bar. The
+@code{progressbar} implements an @code{io.Writer} so it can automatically detect the
+number of bytes written to a stream, so you can use it as a progressbar for an
+@code{io.Reader}. When progressbar length is undetermined a customizable spinner is
+shown.")
+ (license license:expat)))
+
(define-public go-git-sr-ht-emersion-go-scfg
(package
(name "go-git-sr-ht-emersion-go-scfg")
--
2.39.2
next prev parent reply other threads:[~2023-03-21 8:17 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-20 22:47 [bug#62310] [PATCH 0/4] gnu: fdroidcl: Update to 0.7.0 Sergey Trofimov
2023-03-20 22:51 ` [bug#62310] [PATCH 1/4] gnu: Add go-github-com-schollz-progressbar-v3 Sergey Trofimov
2023-03-20 22:51 ` [bug#62310] [PATCH 2/4] gnu: Add go-github-com-mitchellh-colorstring Sergey Trofimov
2023-03-21 1:47 ` [bug#62310] [PATCH 0/4] gnu: fdroidcl: Update to 0.7.0 Maxim Cournoyer
2023-03-20 22:51 ` [bug#62310] [PATCH 3/4] gnu: Add go-github-com-k0kubun-go-ansi Sergey Trofimov
2023-03-21 1:55 ` [bug#62310] [PATCH 0/4] gnu: fdroidcl: Update to 0.7.0 Maxim Cournoyer
2023-03-20 22:51 ` [bug#62310] [PATCH] " Sergey Trofimov
2023-03-21 1:58 ` [bug#62310] [PATCH 0/4] " Maxim Cournoyer
2023-03-21 1:43 ` Maxim Cournoyer
2023-03-21 1:46 ` Maxim Cournoyer
2023-03-21 8:04 ` [bug#62310] [PATCH v2 " Sergey Trofimov
2023-03-21 8:15 ` [bug#62310] [PATCH v2 1/4] gnu: Add go-github-com-mitchellh-colorstring Sergey Trofimov
2023-03-21 8:16 ` Sergey Trofimov [this message]
2023-03-21 8:16 ` [bug#62310] [PATCH v2 3/4] gnu: fdroidcl: Update to 0.7.0 Sergey Trofimov
2023-03-21 8:16 ` [bug#62310] [PATCH v2 4/4] guix: Put check-synopsis-style to the local checkers list Sergey Trofimov
2023-03-21 18:09 ` bug#62310: [PATCH v2 0/4] gnu: fdroidcl: Update to 0.7.0 Maxim Cournoyer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230321081640.16012-1-sarg@sarg.org.ru \
--to=sarg@sarg.org.ru \
--cc=62310@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).