aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/golang-xyz.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2024-06-11 10:01:31 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2024-06-11 10:17:03 +0100
commit02bb43b72282f1e1c68d70d87631a9028a0049b4 (patch)
tree5d2d101cba042b3b3b015dab0132fbfde120a6ba /gnu/packages/golang-xyz.scm
parent2ef0e4bce1f5b4c3b59cfa944e971a3f31afd2d2 (diff)
downloadguix-02bb43b72282f1e1c68d70d87631a9028a0049b4.tar.gz
guix-02bb43b72282f1e1c68d70d87631a9028a0049b4.zip
gnu: Add go-github-com-tidwall-pretty.
* gnu/packages/golang-xyz.scm (go-github-com-tidwall-pretty): New variable. Change-Id: Id5ebc95f579551710ef57553b96815c865e4b294
Diffstat (limited to 'gnu/packages/golang-xyz.scm')
-rw-r--r--gnu/packages/golang-xyz.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index cca8bff278..3722ddd2ce 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -3462,6 +3462,30 @@ well as a program to generate applications and command files.")
storage system.")
(license license:bsd-2)))
+(define-public go-github-com-tidwall-pretty
+ (package
+ (name "go-github-com-tidwall-pretty")
+ (version "1.2.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/tidwall/pretty")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0prj9vpjgrca70rvx40kkl566yf9lw4fsbcmszwamwl364696jsb"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/tidwall/pretty"))
+ (home-page "https://github.com/tidwall/pretty")
+ (synopsis "JSON beautifier and compactor for Golang")
+ (description
+ "This package provides fast methods for formatting JSON for human
+readability, or to compact JSON for smaller payloads.")
+ (license license:expat)))
+
(define-public go-github-com-tklauser-go-sysconf
(package
(name "go-github-com-tklauser-go-sysconf")