M gnu/packages/golang-web.scm => gnu/packages/golang-web.scm +32 -0
@@ 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")