From 17837a9749296526021443816d3ac479de137a2d Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Tue, 11 Jun 2024 10:12:02 +0100 Subject: [PATCH] gnu: Add go-github-com-tidwall-sjson. * gnu/packages/golang-xyz.scm (go-github-com-tidwall-sjson): New variable. Change-Id: I69d5c7205a440cbf2d6abcc814b6130a6a9d4e9c --- gnu/packages/golang-xyz.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index e353b4af08..fd6ac34bb6 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -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")