summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Milosavljevic <dannym@friendly-machines.com>2025-12-05 19:37:14 +0100
committerAndreas Enge <andreas@enge.fr>2026-03-18 14:07:31 +0100
commit4faae3030e3916f957234d53af39f17dfe9fb6c8 (patch)
tree6fbb08123faa712a798f60d19fbfa6942bf086b1
parent061f733720df810f195a772225aa9e687e672867 (diff)
gnu: Add go-gomodules-xyz-jsonpatch-v2.
* gnu/packages/golang-web.scm (go-gomodules-xyz-jsonpatch-v2): New variable. Change-Id: I67ea9d36c0f273e8d700666f6b47bdeb98049b85 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
-rw-r--r--gnu/packages/golang-web.scm31
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index fe7bb74af6c..06e3d0e36aa 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -17882,6 +17882,37 @@ the standard @code{context} package to store request-scoped values.")
(description "This package is a Go Implementation of WireGuard.")
(license license:expat)))
+(define-public go-gomodules-xyz-jsonpatch-v2
+ (package
+ (name "go-gomodules-xyz-jsonpatch-v2")
+ (version "2.5.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/gomodules/jsonpatch")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1a4f7q7lfpwq1ky1k3sfrvmskc64b9wizfn94wqa9kwb6v6j8b0l"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "gomodules.xyz/jsonpatch/v2"
+ #:unpack-path "gomodules.xyz/jsonpatch"))
+ (native-inputs
+ (list go-github-com-stretchr-testify))
+ (propagated-inputs
+ (list go-github-com-evanphx-json-patch
+ go-github-com-pkg-errors))
+ (home-page "https://github.com/gomodules/jsonpatch")
+ (synopsis "JSON Patch (RFC 6902) and target document generation")
+ (description
+ "This package provides functionality for generating JSON Patch documents
+and for applying JSON Patch operations to JSON documents per RFC 6902. It's
+an alternative fork of @url{https://github.com/mattbaird/jsonpatch}.")
+ (license license:asl2.0)))
+
(define-public go-google-golang-org-api
(package
(name "go-google-golang-org-api")