diff options
| author | Arthur Rodrigues <arthurhdrodrigues@proton.me> | 2025-10-26 22:04:45 +0000 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-11-09 09:10:05 +0000 |
| commit | d06a313038fb35fe0a6f56b03eae276e859ccf28 (patch) | |
| tree | be87c3292900889be840d01b06ee7e52a4fe0a56 | |
| parent | 9dddfc88496b0b259799214aa39e0f612532682b (diff) | |
gnu: Add go-github-com-buger-jsonparser.
* gnu/packages/golang-web.scm (go-github-com-buger-jsonparser): New variable.
Change-Id: Ib2b66d0a87d0723ca14a18c98746de657e3555cc
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
| -rw-r--r-- | gnu/packages/golang-web.scm | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm index d9228be12fc..ed5da6bfddb 100644 --- a/gnu/packages/golang-web.scm +++ b/gnu/packages/golang-web.scm @@ -1758,6 +1758,38 @@ differentiate between installs of Mozilla software in @code{installs.ini} and @code{profiles.ini}.") (license license:expat))) +(define-public go-github-com-buger-jsonparser + (package + (name "go-github-com-buger-jsonparser") + (version "1.1.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/buger/jsonparser") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0qv2lsh2biwxn927941gqiv5pqg7n4v58j0i536pjp7pr17pq7dp")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/buger/jsonparser" + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'remove-benchmark + (lambda* (#:key import-path #:allow-other-keys) + (with-directory-excursion (string-append "src/" import-path) + (delete-file-recursively "benchmark"))))))) + (home-page "https://github.com/buger/jsonparser") + (synopsis + "Alternative JSON parser for Golang") + (description + "This package provides an alternative JSON parser for Go. It does not +require to know the structure of the payload (eg. create structs), and allows +accessing fields by providing the path to them.") + (license license:expat))) + (define-public go-github-com-caddyserver-certmagic (package (name "go-github-com-caddyserver-certmagic") |
