mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-28 14:01:29 -05:00
gnu: Add go-github-com-google-go-cmp-cmp.
* gnu/packages/golang.scm (go-github-com-google-go-cmp-cmp): New variable.
This commit is contained in:
parent
07f7bf3624
commit
ee46bc5983
1 changed files with 24 additions and 0 deletions
|
@ -3058,3 +3058,27 @@ (define-public go-github-com-fatih-color
|
||||||
colorized or SGR defined output to the standard output.")
|
colorized or SGR defined output to the standard output.")
|
||||||
(home-page "https://godoc.org/github.com/fatih/color")
|
(home-page "https://godoc.org/github.com/fatih/color")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
|
(define-public go-github-com-google-go-cmp-cmp
|
||||||
|
(package
|
||||||
|
(name "go-github-com-google-go-cmp-cmp")
|
||||||
|
(version "0.3.1")
|
||||||
|
(source (origin
|
||||||
|
(method git-fetch)
|
||||||
|
(uri (git-reference
|
||||||
|
(url "https://github.com/google/go-cmp.git")
|
||||||
|
(commit (string-append "v" version))))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"1caw49i0plkjxir7kdf5qhwls3krqwfmi7g4h392rdfwi3kfahx1"))))
|
||||||
|
(build-system go-build-system)
|
||||||
|
(arguments
|
||||||
|
'(#:import-path "github.com/google/go-cmp/cmp"
|
||||||
|
#:unpack-path "github.com/google/go-cmp"))
|
||||||
|
(synopsis "Determine equality of values in Go")
|
||||||
|
(description "This package provides a more powerful and safer
|
||||||
|
alternative to @code{reflect.DeepEqual} for comparing whether two values
|
||||||
|
are semantically equal in Go (for writing tests).")
|
||||||
|
(home-page "https://godoc.org/github.com/google/go-cmp/cmp")
|
||||||
|
(license license:asl2.0)))
|
||||||
|
|
Loading…
Reference in a new issue