From 02bb43b72282f1e1c68d70d87631a9028a0049b4 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Tue, 11 Jun 2024 10:01:31 +0100 Subject: gnu: Add go-github-com-tidwall-pretty. * gnu/packages/golang-xyz.scm (go-github-com-tidwall-pretty): New variable. Change-Id: Id5ebc95f579551710ef57553b96815c865e4b294 --- gnu/packages/golang-xyz.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'gnu/packages/golang-xyz.scm') 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") -- cgit v1.2.3