guix_mirror_bot pushed a commit to branch master in repository guix. commit 9e88bddbe4124273a211c5407a782ab30af49497 Author: Sharlatan Hellseher <sharlata...@gmail.com> AuthorDate: Sun Sep 7 14:47:55 2025 +0100
gnu: go-github-com-evanphx-json-patch: Update to 4.13.0. * gnu/packages/golang-web.scm (go-github-com-evanphx-json-patch): Update to 4.13.0. [arguments] <go>: Use default, go-1.24. <unpack-path>: Add it. <test-flags>: Add "-vet=off". [description]: Fix indentation. (go-github-com-evanphx-json-patch-v5): Fix indentation. [arguments]: Do not overwrite, but substitute <import-path> only. Change-Id: Ied53f8d51fb514f9bd2e82b4526f807bf2359a30 --- gnu/packages/golang-web.scm | 31 +++++++++++++++++-------------- 1 file changed, 17 insertions(+), 14 deletions(-) diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm index 71fe817e85..ce8f7e2a0a 100644 --- a/gnu/packages/golang-web.scm +++ b/gnu/packages/golang-web.scm @@ -2919,7 +2919,7 @@ protocol definition.") (define-public go-github-com-evanphx-json-patch (package (name "go-github-com-evanphx-json-patch") - (version "4.12.0") + (version "4.13.0") (source (origin (method git-fetch) @@ -2928,21 +2928,24 @@ protocol definition.") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "1z0bmsvzm4nchfbi7h9pdvkfgrnf0fvhn39pgb0q2az8cql58q56")))) + (base32 "0sydllg5hsmvwdr1276qzl8v3xsr3jjrimvvgl9096rn3kf3664m")))) (build-system go-build-system) (arguments (list - #:go go-1.23 - #:import-path "github.com/evanphx/json-patch")) + #:import-path "github.com/evanphx/json-patch" + #:unpack-path "github.com/evanphx/json-patch" + ;; Tests are not copatible with Go 1.24+. + #:test-flags #~(list "-vet=off"))) (propagated-inputs - (list go-github-com-jessevdk-go-flags go-github-com-pkg-errors)) + (list go-github-com-jessevdk-go-flags + go-github-com-pkg-errors)) (home-page "https://github.com/evanphx/json-patch") (synopsis "Apply and create JSON (RFC6902 and RFC7386) patches for Golang") (description "@code{jsonpatch} is a library which provides functionality for both -applying @url{http://tools.ietf.org/html/rfc6902,RFC6902 JSON patches} against -documents, as well as for calculating & applying -@url{https://tools.ietf.org/html/rfc7396,RFC7396 JSON merge patches}.") +applying @url{http://tools.ietf.org/html/rfc6902, RFC6902 JSON patches} +against documents, as well as for calculating & applying +@url{https://tools.ietf.org/html/rfc7396, RFC7396 JSON merge patches}.") (license license:bsd-3))) (define-public go-github-com-evanphx-json-patch-v5 @@ -2954,17 +2957,17 @@ documents, as well as for calculating & applying (origin (method git-fetch) (uri (git-reference - (url "https://github.com/evanphx/json-patch") - (commit (string-append "v" version)))) + (url "https://github.com/evanphx/json-patch") + (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 (base32 "0sydllg5hsmvwdr1276qzl8v3xsr3jjrimvvgl9096rn3kf3664m")))) (build-system go-build-system) (arguments - (list - #:go go-1.23 - #:import-path "github.com/evanphx/json-patch/v5" - #:unpack-path "github.com/evanphx/json-patch")))) + (substitute-keyword-arguments + (package-arguments go-github-com-evanphx-json-patch) + ((#:import-path "github.com/evanphx/json-patch") + "github.com/evanphx/json-patch/v5"))))) (define-public go-github-com-fasthttp-router (package