guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

05/12: gnu: Add go-github-com-briandowns-spinner.


From: guix-commits
Subject: 05/12: gnu: Add go-github-com-briandowns-spinner.
Date: Fri, 29 Mar 2024 10:23:52 -0400 (EDT)

sharlatan pushed a commit to branch master
in repository guix.

commit 699c9a04b258cfb512ef13c20560fc277f94f7d5
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Fri Mar 29 09:29:33 2024 +0000

    gnu: Add go-github-com-briandowns-spinner.
    
    * gnu/packages/golang-xyz.scm (go-github-com-briandowns-spinner): New 
variable.
    
    Change-Id: I990b39300b55e5ba462baad6dd996defc584a03d
---
 gnu/packages/golang-xyz.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 00c0c11034..4eb92365f6 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -491,6 +491,38 @@ information and periodically output metrics")
 quantiles over an unbounded data stream within low memory and CPU bounds.")
     (license license:bsd-2)))
 
+(define-public go-github-com-briandowns-spinner
+  (package
+    (name "go-github-com-briandowns-spinner")
+    (version "1.23.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/briandowns/spinner";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "036r59m068k8grr0q77a6b1rqw4dyxm00fsxj7b9w1fjviq8djs6"))
+       (modules '((guix build utils)))
+       (snippet
+        '(begin
+           (delete-file-recursively "vendor")))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/briandowns/spinner"))
+    (propagated-inputs
+     (list go-github-com-fatih-color
+           go-github-com-mattn-go-isatty
+           go-golang-org-x-term))
+    (home-page "https://github.com/briandowns/spinner";)
+    (synopsis "Terminal spinner/progress indicators")
+    (description
+     "Package spinner is a simple package to add a spinner / progress
+indicator to any terminal application.")
+    (license license:asl2.0)))
+
 (define-public go-github-com-burntsushi-toml
   (package
     (name "go-github-com-burntsushi-toml")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]