Subject: [PATCH 08/28] gnu: Add go-github-com-briandowns-spinner.

From: Xinglu Chen <[email-masked]>
Date: Thu, 01 Apr 2021 10:02:25 +0200

* gnu/packages/golang.scm (go-github-com-briandowns-spinner): New variable.
---
 gnu/packages/golang.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 9f8037218f..26cbd7edad 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -7210,3 +7210,32 @@ terminals supporting ANSI escape sequences.")
 indent.")
     (license license:expat)))
 
+(define-public go-github-com-briandowns-spinner
+  (package
+    (name "go-github-com-briandowns-spinner")
+    (version "1.12.0")
+    (source
+      (origin
+        (method git-fetch)
+        (uri (git-reference
+               (url "https://github.com/briandowns/spinner.git")
+               (commit (string-append "v" version))))
+        (file-name (git-file-name name version))
+        (sha256
+          (base32
+            "1n6h2iqq5anqg9p2pwz684vhfjx0944rrw53x2cn5m1dybp6rbwx"))))
+    (build-system go-build-system)
+    (arguments
+      '(#:import-path "github.com/briandowns/spinner"))
+    (native-inputs
+      `(("go-github-com-mattn-go-colorable"
+         ,go-github-com-mattn-go-colorable)
+        ("go-github-com-fatih-color"
+         ,go-github-com-fatih-color)))
+    (home-page
+      "https://github.com/briandowns/spinner")
+    (synopsis "Progress indicator for any terminal application")
+    (description "This is a simple package to add a spinner or progress
+indicator to any terminal application. ")
+    (license license:asl2.0)))
+
-- 
2.31.1