sharlatan pushed a commit to branch go-team
in repository guix.

commit 64d39fd08e079bee96360fbd2011179b3befa8ea
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sun Jan 12 00:08:32 2025 +0000

    gnu: Add go-github-com-labstack-gommon.
    
    * gnu/packages/golang-xyz.scm (go-github-com-labstack-gommon): New variable.
    
    Change-Id: Ieb84db29cd2aa7417286406b0c1c7397c3e4d573
---
 gnu/packages/golang-xyz.scm | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 04d6cb9012..cd4b061c9f 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -9212,6 +9212,40 @@ structure.  It can also produce a much more verbose, 
one-item-per-line
 representation suitable for computing diffs.")
     (license license:asl2.0)))
 
+(define-public go-github-com-labstack-gommon
+  (package
+    (name "go-github-com-labstack-gommon")
+    (version "0.4.2")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/labstack/gommon";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "05mafzmx050hc3js3i0h05ga81kk3hhhlv395xwzv9n38h27xpnz"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/labstack/gommon"))
+    (native-inputs
+     (list go-github-com-stretchr-testify))
+    (propagated-inputs
+     (list go-github-com-mattn-go-colorable
+           go-github-com-mattn-go-isatty
+           go-github-com-valyala-fasttemplate))
+    (home-page "https://github.com/labstack/gommon";)
+    (synopsis "Common libraries for Go")
+    (description
+     "This package provides functionlaity for common tasks:
+@itemize
+@item @code{Bytes} - format/parse bytes
+@item @code{Color} - style terminal text
+@item @code{Log} - simple logging
+@end itemize")
+    (license license:expat)))
+
 (define-public go-github-com-lann-builder
   (package
     (name "go-github-com-lann-builder")

Reply via email to