mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-15 03:20:43 +02:00
gnu: Add go-github-com-yudai-gojsondiff.
* gnu/packages/golang-xyz.scm (go-github-com-yudai-gojsondiff): New variable. Change-Id: I26c56581e3d181d8657ed50f9ba43ca84225cd7e Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
parent
4aa828cabe
commit
24c8a97c3c
1 changed files with 34 additions and 0 deletions
|
@ -12832,6 +12832,40 @@ detection.")
|
||||||
@url{https://github.com/yosuke-furukawa/json5, JSON5}.")
|
@url{https://github.com/yosuke-furukawa/json5, JSON5}.")
|
||||||
(license license:bsd-3))))
|
(license license:bsd-3))))
|
||||||
|
|
||||||
|
(define-public go-github-com-yudai-gojsondiff
|
||||||
|
(package
|
||||||
|
(name "go-github-com-yudai-gojsondiff")
|
||||||
|
(version "1.0.0")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method git-fetch)
|
||||||
|
(uri (git-reference
|
||||||
|
(url "https://github.com/yudai/gojsondiff")
|
||||||
|
(commit (string-append "v" version))))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
|
(sha256
|
||||||
|
(base32 "0qnymi0027mb8kxm24mmd22bvjrdkc56c7f4q3lbdf93x1vxbbc2"))
|
||||||
|
(snippet
|
||||||
|
#~(begin (use-modules (guix build utils))
|
||||||
|
(delete-file-recursively "vendor")))))
|
||||||
|
(build-system go-build-system)
|
||||||
|
(arguments
|
||||||
|
(list
|
||||||
|
#:import-path "github.com/yudai/gojsondiff"
|
||||||
|
#:test-subdirs #~(list "formatter/...")))
|
||||||
|
(native-inputs
|
||||||
|
(list go-github-com-onsi-ginkgo))
|
||||||
|
(propagated-inputs
|
||||||
|
(list go-github-com-sergi-go-diff
|
||||||
|
go-github-com-yudai-golcs))
|
||||||
|
(home-page "https://github.com/yudai/gojsondiff")
|
||||||
|
(synopsis "JSON Diff and Patch for Golang")
|
||||||
|
(description
|
||||||
|
"This package implements a \"diff\" algorithm that compares two JSON
|
||||||
|
objects and generates deltas that describe the differences between them. The
|
||||||
|
deltas can be applied to a JSON object to \"patch\" them.")
|
||||||
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public go-github-com-yudai-golcs
|
(define-public go-github-com-yudai-golcs
|
||||||
(package
|
(package
|
||||||
(name "go-github-com-yudai-golcs")
|
(name "go-github-com-yudai-golcs")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue