gnu: Add go-github-com-tidwall-sjson.

* gnu/packages/golang-xyz.scm (go-github-com-tidwall-sjson): New variable.

Change-Id: I69d5c7205a440cbf2d6abcc814b6130a6a9d4e9c
This commit is contained in:
Sharlatan Hellseher 2024-06-11 10:12:02 +01:00
parent bb79b85b1e
commit 17837a9749
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -3537,6 +3537,33 @@ (define-public go-github-com-tidwall-pretty
readability, or to compact JSON for smaller payloads.")
(license license:expat)))
(define-public go-github-com-tidwall-sjson
(package
(name "go-github-com-tidwall-sjson")
(version "1.2.5")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/tidwall/sjson")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "16yaikpxiwqz00zxa70w17k2k52nr06svand88sv2br6b6i8v09r"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/tidwall/sjson"))
(propagated-inputs
(list go-github-com-tidwall-gjson
go-github-com-tidwall-pretty))
(home-page "https://github.com/tidwall/sjson")
(synopsis "Quick value JSON values setting in Golang")
(description
"This package provides a fast and simple way to set a value in a JSON
document.")
(license license:expat)))
(define-public go-github-com-tklauser-go-sysconf
(package
(name "go-github-com-tklauser-go-sysconf")