@@ -3636,6 +3636,35 @@ (define-public go-github-com-magiconair-properties
(description "Java properties scanner for Go")
(license license:bsd-2)))
+(define-public go-github-com-mattbaird-jsonpatch
+ (package
+ (name "go-github-com-mattbaird-jsonpatch")
+ (version "0.0.0-20171005235357-81af80346b1a")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/mattbaird/jsonpatch")
+ (commit (go-version->git-ref version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0ll22kpf75m72r7i5ddg3r87gdlagbj2x24bppgbi8jp018pdq95"))))
+ (build-system go-build-system)
+ (arguments
+ `(#:import-path "github.com/mattbaird/jsonpatch"))
+ (native-inputs (list go-github-com-stretchr-testify))
+ (home-page "https://github.com/mattbaird/jsonpatch")
+ (synopsis "JSON Patch library for Go")
+ (description
+ "@url{http://jsonpatch.com/, JSON Patch} implementation for Go as
+specified in @url{https://datatracker.ietf.org/doc/html/rfc6902/, RFC 6902} from the
+IETF.
+
+JSON Patch allows you to generate JSON that describes changes you want to make to a
+document, so you don't have to send the whole doc. JSON Patch format is supported by
+HTTP PATCH method, allowing for standards based partial updates via REST APIs.")
+ (license license:asl2.0)))
+
(define-public go-github-com-pelletier-go-toml
(package
(name "go-github-com-pelletier-go-toml")