unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Adam Faiz via Guix-patches via <guix-patches@gnu.org>
To: 59356@debbugs.gnu.org
Subject: [bug#59356] [PATCH 3/5] gnu: Add go-github-com-makeworld-the-better-one-gemget.
Date: Fri, 18 Nov 2022 19:51:24 +0800	[thread overview]
Message-ID: <2a800688-110b-c905-2a9e-b882dd772987@disroot.org> (raw)
In-Reply-To: <ea529590-1281-b921-c478-dd1e10f5e469@disroot.org>

 From d2b2741b0b800e1371b53d0f0a72cd69a35838ab Mon Sep 17 00:00:00 2001
From: AwesomeAdam54321 <adam.faiz@disroot.org>
Date: Fri, 18 Nov 2022 09:03:42 +0800
Subject: [PATCH] gnu: Add go-github-com-schollz-progressbar.

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

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 71aa2ec972..c988b50574 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -1287,6 +1287,41 @@ (define-public go-github-com-schachmat-ingo
  configuration file.")
      (license license:isc)))

+(define-public go-github-com-schollz-progressbar
+  (package
+    (name "go-github-com-schollz-progressbar")
+    (version "3.12.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
+                "1xf6vrrvimrhb6hrkcax0ig6f0zy3skiapxjhfqc1n0lmvbxwqyf"))))
+    (build-system go-build-system)
+    (arguments
+     (list #:tests? #f ;TestReaderToBuffer panic: runtime error:
+                       ;invalid memory address or nil pointer 
dereference [recovered]
+           #:import-path "github.com/schollz/progressbar/v3"))
+    (propagated-inputs
+     (list go-golang-org-x-term
+           go-golang-org-x-sys
+           go-github-com-stretchr-testify
+           go-github-com-rivo-uniseg
+           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 "Basic thread-safe progress bar for Golang applications")
+    (description
+     "schollz-progressbar provides a very simple thread-safe progress 
bar which should work
+on every OS without problems.")
+    (license license:expat)))
+
  (define-public go-github-com-savsgio-gotils
    (let ((commit "52f3993e8d6d2629f18e7b7383b7f54a3d3f1d1f")
          (revision "0"))
-- 
2.38.0




  reply	other threads:[~2022-11-18 11:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-18 11:44 [bug#59356] [PATCH 0/5] gnu: Add go-github-com-makeworld-the-better-one-gemget Adam Faiz via Guix-patches via
2022-11-18 11:47 ` [bug#59356] [PATCH] gnu: Add go-github-com-k0kubun-go-ansi Adam Faiz via Guix-patches via
2022-11-18 11:49   ` [bug#59356] [PATCH 2/5] gnu: Add go-github-com-makeworld-the-better-one-gemget Adam Faiz via Guix-patches via
2022-11-18 11:51     ` Adam Faiz via Guix-patches via [this message]
2022-11-18 11:53       ` [bug#59356] [PATCH 3/5] " Adam Faiz via Guix-patches via
2022-11-18 11:54         ` [bug#59356] [PATCH 5/5] " Adam Faiz via Guix-patches via

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=2a800688-110b-c905-2a9e-b882dd772987@disroot.org \
    --to=guix-patches@gnu.org \
    --cc=59356@debbugs.gnu.org \
    --cc=adam.faiz@disroot.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).