From bb79b85b1e024ee7d777bc9ca7b0ce4f07b8cf43 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Tue, 11 Jun 2024 09:59:22 +0100 Subject: gnu: Add go-github-com-tidwall-gjson. * gnu/packages/golang-xyz.scm (go-github-com-tidwall-gjson): New variable. Change-Id: If3345205e3cbc75c0a4aa51ea0e5566d6db9af71 --- gnu/packages/golang-xyz.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index bdad626368..e353b4af08 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -3462,6 +3462,34 @@ well as a program to generate applications and command files.") storage system.") (license license:bsd-2))) +(define-public go-github-com-tidwall-gjson + (package + (name "go-github-com-tidwall-gjson") + (version "1.17.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/tidwall/gjson") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0gcjzbs5in4kics39d2v3j2v9gvfxkdgp0bdgbfmcsa5arqgq7g5")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/tidwall/gjson")) + (propagated-inputs + (list go-github-com-tidwall-match + go-github-com-tidwall-pretty)) + (home-page "https://github.com/tidwall/gjson") + (synopsis "JSON parser for Golang") + (description + "This package provides a fast and simple way to get values from a JSON +document. It has features such as one line retrieval, dot notation paths, +iteration, and parsing JSON lines.") + (license license:expat))) + (define-public go-github-com-tidwall-match (package (name "go-github-com-tidwall-match") -- cgit v1.2.3