1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-16 03:50:45 +02:00

gnu: go-github-com-google-go-cmp-cmp: Rename variable.

* gnu/packages/golang.scm (go-github-com-google-go-cmp-cmp): Rename
variable to go-github-com-google-go-cmp, which reflects go.mod import
path and improves importer performance.

(go-github-com-zclconf-go-cty, go-golang-org-x-vuln,
go-google-golang-org-protobuf, go-gotest-tools-assert,
go-gotest-tools-internal-source, go-gotest-tools-internal-format,
gofumpt, gopls, gotestsum): Swap go-github-com-google-go-cmp-cmp to
go-github-com-google-go-cmp in inputs, propagated-inputs or
native-inputs.

* gnu/packages/golang-check.scm (go-github-com-frankban-quicktest,
go-github-com-google-go-cmdtest): Likewise.

* gnu/packages/golang-web.scm (go-github-com-aws-aws-sdk-go-v2,
go-github-com-aws-aws-sdk-go-v2-config, go-github-com-aws-smithy-go,
go-github-com-go-jose-go-jose-v3,
go-github-com-makeworld-the-better-one-go-gemini,
go-golang-org-x-oauth2, go-gopkg-in-square-go-jose-v2): Likewise.

* gnu/packages/golang-xyz.scm (go-github-com-goccy-go-yaml): Likewise.

* gnu/packages/check.scm (actionlint): Likewise.
* gnu/packages/databases.scm (sqls): Likewise.
* gnu/packages/ipfs.scm (go-github-com-ipld-go-ipld-prime,
go-github-com-whyrusleeping-cbor-gen): Likewise.
* gnu/packages/web.scm (go-github-com-itchyny-gojq): Likewise.

Change-Id: Ie6eeba936f7da404d70fbbaad34f5b43aec4e05b
This commit is contained in:
Sharlatan Hellseher 2024-07-19 22:24:25 +01:00
parent bdff9d2642
commit 058e0cc75a
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5
8 changed files with 26 additions and 26 deletions

View file

@ -1144,7 +1144,7 @@ but it works for any C/C++ project.")
go-golang-org-x-sync go-golang-org-x-sync
go-golang-org-x-sync go-golang-org-x-sync
go-gopkg-in-yaml-v3)) go-gopkg-in-yaml-v3))
(native-inputs (list go-github-com-google-go-cmp-cmp)) (native-inputs (list go-github-com-google-go-cmp))
(home-page "https://rhysd.github.io/actionlint/") (home-page "https://rhysd.github.io/actionlint/")
(synopsis "Static checker for GitHub Actions workflow files") (synopsis "Static checker for GitHub Actions workflow files")
(description (description

View file

@ -5506,7 +5506,7 @@ compatible with SQLite using a graphical user interface.")
#:install-source? #f #:install-source? #f
#:import-path "github.com/lighttiger2505/sqls")) #:import-path "github.com/lighttiger2505/sqls"))
(native-inputs (native-inputs
(list go-github-com-google-go-cmp-cmp (list go-github-com-google-go-cmp
go-github-com-go-sql-driver-mysql go-github-com-go-sql-driver-mysql
go-github-com-k0kubun-pp go-github-com-k0kubun-pp
go-github-com-lib-pq go-github-com-lib-pq

View file

@ -301,7 +301,7 @@ workloads. This kind of profiling is also known as wall-clock profiling.")
(arguments (arguments
'(#:import-path "github.com/frankban/quicktest")) '(#:import-path "github.com/frankban/quicktest"))
(propagated-inputs (propagated-inputs
(list go-github-com-google-go-cmp-cmp go-github-com-kr-pretty)) (list go-github-com-google-go-cmp go-github-com-kr-pretty))
(home-page "https://github.com/frankban/quicktest") (home-page "https://github.com/frankban/quicktest")
(synopsis "Quick helpers for testing Go applications") (synopsis "Quick helpers for testing Go applications")
(description (description
@ -376,7 +376,7 @@ when comparing complex types like structures and maps.")
(arguments (arguments
'(#:import-path "github.com/google/go-cmdtest")) '(#:import-path "github.com/google/go-cmdtest"))
(propagated-inputs (propagated-inputs
(list go-github-com-google-renameio go-github-com-google-go-cmp-cmp)) (list go-github-com-google-renameio go-github-com-google-go-cmp))
(home-page "https://github.com/google/go-cmdtest") (home-page "https://github.com/google/go-cmdtest")
(synopsis "Testing for your CLI") (synopsis "Testing for your CLI")
(description (description

View file

@ -300,7 +300,7 @@ connections from a single physical connection.")
'(#:import-path "github.com/aws/aws-sdk-go-v2")) '(#:import-path "github.com/aws/aws-sdk-go-v2"))
(propagated-inputs (propagated-inputs
(list go-github-com-aws-smithy-go (list go-github-com-aws-smithy-go
go-github-com-google-go-cmp-cmp go-github-com-google-go-cmp
go-github-com-jmespath-go-jmespath)) go-github-com-jmespath-go-jmespath))
(home-page "https://github.com/aws/aws-sdk-go-v2") (home-page "https://github.com/aws/aws-sdk-go-v2")
(synopsis "AWS SDK for Go v2") (synopsis "AWS SDK for Go v2")
@ -317,7 +317,7 @@ connections from a single physical connection.")
'(#:import-path "github.com/aws/aws-sdk-go-v2/config" '(#:import-path "github.com/aws/aws-sdk-go-v2/config"
#:unpack-path "github.com/aws/aws-sdk-go-v2")) #:unpack-path "github.com/aws/aws-sdk-go-v2"))
(propagated-inputs (propagated-inputs
(list go-github-com-google-go-cmp-cmp (list go-github-com-google-go-cmp
go-github-com-aws-smithy-go)))) go-github-com-aws-smithy-go))))
(define-public go-github-com-aws-aws-sdk-go-v2-feature-s3-manager (define-public go-github-com-aws-aws-sdk-go-v2-feature-s3-manager
@ -402,7 +402,7 @@ connections from a single physical connection.")
(arguments (arguments
'(#:import-path "github.com/aws/smithy-go")) '(#:import-path "github.com/aws/smithy-go"))
(propagated-inputs (propagated-inputs
(list go-github-com-jmespath-go-jmespath go-github-com-google-go-cmp-cmp)) (list go-github-com-jmespath-go-jmespath go-github-com-google-go-cmp))
(home-page "https://github.com/aws/smithy-go") (home-page "https://github.com/aws/smithy-go")
(synopsis "@url{https://smithy.io/2.0/index.html,Smithy} code generators (synopsis "@url{https://smithy.io/2.0/index.html,Smithy} code generators
for Go") for Go")
@ -812,7 +812,7 @@ decompose request handling into many smaller layers.")
(propagated-inputs (propagated-inputs
(list go-golang-org-x-crypto)) (list go-golang-org-x-crypto))
(native-inputs (native-inputs
(list go-github-com-google-go-cmp-cmp (list go-github-com-google-go-cmp
go-github-com-stretchr-testify)) go-github-com-stretchr-testify))
(home-page "https://github.com/go-jose/go-jose") (home-page "https://github.com/go-jose/go-jose")
(synopsis "Implementation of JOSE standards (JWE, JWS, JWT) in Go") (synopsis "Implementation of JOSE standards (JWE, JWS, JWT) in Go")
@ -1673,7 +1673,7 @@ router.")
(base32 "196rxfg7w8s3zn87gra1mxh1l8iav6kdmg909gkbnc9cxip65zc0")))) (base32 "196rxfg7w8s3zn87gra1mxh1l8iav6kdmg909gkbnc9cxip65zc0"))))
(build-system go-build-system) (build-system go-build-system)
(propagated-inputs (propagated-inputs
(list go-github-com-google-go-cmp-cmp (list go-github-com-google-go-cmp
go-golang-org-x-net go-golang-org-x-net
go-golang-org-x-text)) go-golang-org-x-text))
(arguments (arguments
@ -3287,7 +3287,7 @@ programming language, which supports draft-04, draft-06 and draft-07.")
(propagated-inputs (propagated-inputs
(list go-golang-org-x-crypto)) (list go-golang-org-x-crypto))
(native-inputs (native-inputs
(list go-github-com-google-go-cmp-cmp (list go-github-com-google-go-cmp
go-github-com-stretchr-testify)) go-github-com-stretchr-testify))
(home-page "https://gopkg.in/square/go-jose.v2") (home-page "https://gopkg.in/square/go-jose.v2")
(synopsis "Implementation of JOSE standards (JWE, JWS, JWT) in Go") (synopsis "Implementation of JOSE standards (JWE, JWS, JWT) in Go")

View file

@ -2154,7 +2154,7 @@ the library more lightweight.")
(invoke "go" "test" "-v" "./...")))))))) (invoke "go" "test" "-v" "./..."))))))))
(native-inputs (native-inputs
(list go-github-com-go-playground-validator-v10 (list go-github-com-go-playground-validator-v10
go-github-com-google-go-cmp-cmp)) go-github-com-google-go-cmp))
(propagated-inputs (propagated-inputs
(list go-github-com-fatih-color (list go-github-com-fatih-color
go-golang-org-x-xerrors)) go-golang-org-x-xerrors))

View file

@ -3188,7 +3188,7 @@ command-line parsers.")
"./scan/...")))))))) "./scan/..."))))))))
(propagated-inputs (propagated-inputs
(list go-github-com-google-go-cmdtest (list go-github-com-google-go-cmdtest
go-github-com-google-go-cmp-cmp go-github-com-google-go-cmp
go-golang-org-x-exp go-golang-org-x-exp
go-golang-org-x-mod go-golang-org-x-mod
go-golang-org-x-sync go-golang-org-x-sync
@ -3240,7 +3240,7 @@ the @url{https://vuln.go.dev,Go Vulnerability Database}.")
(lambda _ (lambda _
(delete-file-recursively "src/golang.org/x/tools")))))) (delete-file-recursively "src/golang.org/x/tools"))))))
(native-inputs (native-inputs
(list go-github-com-google-go-cmp-cmp (list go-github-com-google-go-cmp
go-github-com-jba-printsrc go-github-com-jba-printsrc
go-github-com-jba-templatecheck go-github-com-jba-templatecheck
go-github-com-sergi-go-diff go-github-com-sergi-go-diff
@ -5929,9 +5929,9 @@ filters for Go.")
@code{mbox} files.") @code{mbox} files.")
(license license:expat))) (license license:expat)))
(define-public go-github-com-google-go-cmp-cmp (define-public go-github-com-google-go-cmp
(package (package
(name "go-github-com-google-go-cmp-cmp") (name "go-github-com-google-go-cmp")
(version "0.6.0") (version "0.6.0")
(source (source
(origin (origin
@ -6118,7 +6118,7 @@ create or replace a file or symbolic link.")
(define-public go-gotest-tools-internal-format (define-public go-gotest-tools-internal-format
(package (inherit (go-gotest-tools-package "internal/format")) (package (inherit (go-gotest-tools-package "internal/format"))
(native-inputs (native-inputs
(list go-github-com-pkg-errors go-github-com-google-go-cmp-cmp)) (list go-github-com-pkg-errors go-github-com-google-go-cmp))
(synopsis "Formats messages for use with gotest-tools") (synopsis "Formats messages for use with gotest-tools")
(description "This package provides a way to format messages for use (description "This package provides a way to format messages for use
with gotest-tools."))) with gotest-tools.")))
@ -6143,7 +6143,7 @@ with gotest-tools.")))
(false-if-exception (search-input-file inputs "/bin/gccgo")) (false-if-exception (search-input-file inputs "/bin/gccgo"))
(apply (assoc-ref %standard-phases 'check) args)))))))) (apply (assoc-ref %standard-phases 'check) args))))))))
(native-inputs (native-inputs
(list go-github-com-pkg-errors go-github-com-google-go-cmp-cmp)) (list go-github-com-pkg-errors go-github-com-google-go-cmp))
(synopsis "Source code AST formatters for gotest-tools") (synopsis "Source code AST formatters for gotest-tools")
(description "This package provides source code AST formatters for (description "This package provides source code AST formatters for
gotest-tools."))) gotest-tools.")))
@ -6156,7 +6156,7 @@ gotest-tools.")))
#:import-path "gotest.tools/assert" #:import-path "gotest.tools/assert"
#:unpack-path "gotest.tools")) #:unpack-path "gotest.tools"))
(propagated-inputs (propagated-inputs
(list go-github-com-google-go-cmp-cmp (list go-github-com-google-go-cmp
go-github-com-pkg-errors go-github-com-pkg-errors
go-github-com-spf13-pflag go-github-com-spf13-pflag
go-golang-org-x-tools)) go-golang-org-x-tools))
@ -6191,14 +6191,14 @@ test when a comparison fails.")
go-github-com-jonboulle-clockwork go-github-com-jonboulle-clockwork
go-golang-org-x-crypto go-golang-org-x-crypto
go-gotest-tools-assert go-gotest-tools-assert
go-github-com-google-go-cmp-cmp go-github-com-google-go-cmp
;; TODO: This would be better as a propagated-input of ;; TODO: This would be better as a propagated-input of
;; go-gotest-tools-assert, but that does not work for ;; go-gotest-tools-assert, but that does not work for
;; some reason. ;; some reason.
go-gotest-tools-internal-format go-gotest-tools-internal-format
go-gotest-tools-internal-difflib go-gotest-tools-internal-difflib
go-gotest-tools-internal-source go-gotest-tools-internal-source
go-github-com-google-go-cmp-cmp)) go-github-com-google-go-cmp))
(synopsis "Go test runner with output optimized for humans") (synopsis "Go test runner with output optimized for humans")
(description "This package provides a @code{go test} runner with output (description "This package provides a @code{go test} runner with output
optimized for humans, JUnit XML for CI integration, and a summary of the optimized for humans, JUnit XML for CI integration, and a summary of the
@ -6278,7 +6278,7 @@ data serialization format.")
(when tests? (when tests?
(with-directory-excursion (string-append "src/" import-path) (with-directory-excursion (string-append "src/" import-path)
(invoke "go" "test" "-v" "./...")))))))) (invoke "go" "test" "-v" "./..."))))))))
(propagated-inputs (list go-github-com-google-go-cmp-cmp)) (propagated-inputs (list go-github-com-google-go-cmp))
(home-page "https://google.golang.org/protobuf") (home-page "https://google.golang.org/protobuf")
(synopsis "Go library for Protocol Buffers") (synopsis "Go library for Protocol Buffers")
(description (description
@ -7632,7 +7632,7 @@ deleting secrets from the system keyring.")
'(#:unpack-path "github.com/zclconf/go-cty" '(#:unpack-path "github.com/zclconf/go-cty"
#:import-path "github.com/zclconf/go-cty/cty")) #:import-path "github.com/zclconf/go-cty/cty"))
(native-inputs (native-inputs
(list go-github-com-google-go-cmp-cmp)) (list go-github-com-google-go-cmp))
(propagated-inputs (propagated-inputs
(list go-golang-org-x-text (list go-golang-org-x-text
go-github-com-vmihailenco-msgpack-v4 go-github-com-vmihailenco-msgpack-v4
@ -8032,7 +8032,7 @@ Gemini clients and servers.")
go-golang-org-x-sync go-golang-org-x-sync
go-golang-org-x-mod go-golang-org-x-mod
go-github-com-rogpeppe-go-internal go-github-com-rogpeppe-go-internal
go-github-com-google-go-cmp-cmp go-github-com-google-go-cmp
go-github-com-frankban-quicktest)) go-github-com-frankban-quicktest))
(home-page "https://mvdan.cc/gofumpt/") (home-page "https://mvdan.cc/gofumpt/")
(synopsis "Formats Go files with a stricter ruleset than gofmt") (synopsis "Formats Go files with a stricter ruleset than gofmt")

View file

@ -606,7 +606,7 @@ and @code{go-ipld-format} legacy interface.")
go-github-com-warpfork-go-testmark go-github-com-warpfork-go-testmark
specification-ipld)) specification-ipld))
(propagated-inputs (propagated-inputs
(list go-github-com-google-go-cmp-cmp (list go-github-com-google-go-cmp
go-github-com-ipfs-go-block-format go-github-com-ipfs-go-block-format
go-github-com-ipfs-go-cid go-github-com-ipfs-go-cid
go-github-com-multiformats-go-multicodec go-github-com-multiformats-go-multicodec
@ -799,7 +799,7 @@ daemon as described in
#:import-path "github.com/whyrusleeping/cbor-gen")) #:import-path "github.com/whyrusleeping/cbor-gen"))
(propagated-inputs (propagated-inputs
(list go-github-com-ipfs-go-cid (list go-github-com-ipfs-go-cid
go-github-com-google-go-cmp-cmp go-github-com-google-go-cmp
go-golang-org-x-xerrors)) go-golang-org-x-xerrors))
(home-page "https://github.com/whyrusleeping/cbor-gen") (home-page "https://github.com/whyrusleeping/cbor-gen")
(synopsis "Codegen for CBOR codecs on the specified types") (synopsis "Codegen for CBOR codecs on the specified types")

View file

@ -5531,7 +5531,7 @@ time strings.")
(base32 "1dqmnxnipi497nx9x10ifack09w41579svryss5q2w5wxy0pg764")))) (base32 "1dqmnxnipi497nx9x10ifack09w41579svryss5q2w5wxy0pg764"))))
(build-system go-build-system) (build-system go-build-system)
(inputs (inputs
(list go-github-com-google-go-cmp-cmp (list go-github-com-google-go-cmp
go-github-com-itchyny-timefmt-go go-github-com-itchyny-timefmt-go
go-github-com-mattn-go-isatty go-github-com-mattn-go-isatty
go-github-com-mattn-go-runewidth go-github-com-mattn-go-runewidth