mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 05:39:41 -05:00
gnu: govulncheck: Adjust package style.
* gnu/packages/golang.scm (govulncheck): Adjust indentation and swap inputs to propagated-inputs. [inputs]: Remove go-golang-org-x-sys, go-github-com-google-renameio, go-github-com-burntsushi-toml, go-mvdan-cc-unparam, go-honnef-co-go-tools, go-golang-org-x-tools, go-golang-org-x-sync, go-golang-org-x-mod, go-golang-org-x-exp, go-github-com-google-go-cmp-cmp, go-github-com-google-go-cmdtest, and go-github-com-client9-misspell. [propagated-inputs]: Add go-github-com-google-go-cmdtest, go-github-com-google-go-cmp-cmp, go-golang-org-x-mod, go-golang-org-x-exp go-golang-org-x-sync, and go-golang-org-x-tools. Change-Id: I1155d11eed11aff248cf1c1356048ccffcf57a64
This commit is contained in:
parent
07dbf74fb8
commit
33edddb2ca
1 changed files with 23 additions and 26 deletions
|
@ -3160,34 +3160,31 @@ (define-public govulncheck
|
||||||
;; XXX: Newer version of govulncheck requires golang.org/x/telemetry,
|
;; XXX: Newer version of govulncheck requires golang.org/x/telemetry,
|
||||||
;; which needs to be discussed if it may be included in Guix.
|
;; which needs to be discussed if it may be included in Guix.
|
||||||
(version "0.0.0-20230110180137-6ad3e3d07815")
|
(version "0.0.0-20230110180137-6ad3e3d07815")
|
||||||
(source (origin
|
(source
|
||||||
(method git-fetch)
|
(origin
|
||||||
(uri (git-reference
|
(method git-fetch)
|
||||||
(url "https://go.googlesource.com/vuln")
|
(uri (git-reference
|
||||||
(commit (go-version->git-ref version))))
|
(url "https://go.googlesource.com/vuln")
|
||||||
(file-name (git-file-name name version))
|
(commit (go-version->git-ref version))))
|
||||||
(sha256
|
(file-name (git-file-name name version))
|
||||||
(base32
|
(sha256
|
||||||
"1fhz27ni8bs872rgvqq700qacak9v45zy0fh2hilq21sk6dks72r"))))
|
(base32 "1fhz27ni8bs872rgvqq700qacak9v45zy0fh2hilq21sk6dks72r"))))
|
||||||
(build-system go-build-system)
|
(build-system go-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ; it tires to download modules from the network
|
(list
|
||||||
#:install-source? #f
|
#:tests? #f ; it tires to download modules from the network
|
||||||
#:import-path "golang.org/x/vuln/cmd/govulncheck"
|
#:install-source? #f
|
||||||
#:unpack-path "golang.org/x/vuln"))
|
#:import-path "golang.org/x/vuln/cmd/govulncheck"
|
||||||
(native-inputs (list coreutils-minimal))
|
#:unpack-path "golang.org/x/vuln"))
|
||||||
(inputs (list go-golang-org-x-sys
|
(native-inputs
|
||||||
go-github-com-google-renameio
|
(list coreutils-minimal))
|
||||||
go-github-com-burntsushi-toml
|
(propagated-inputs
|
||||||
go-mvdan-cc-unparam
|
(list go-github-com-google-go-cmdtest
|
||||||
go-honnef-co-go-tools
|
go-github-com-google-go-cmp-cmp
|
||||||
go-golang-org-x-tools
|
go-golang-org-x-exp
|
||||||
go-golang-org-x-sync
|
go-golang-org-x-mod
|
||||||
go-golang-org-x-mod
|
go-golang-org-x-sync
|
||||||
go-golang-org-x-exp
|
go-golang-org-x-tools))
|
||||||
go-github-com-google-go-cmp-cmp
|
|
||||||
go-github-com-google-go-cmdtest
|
|
||||||
go-github-com-client9-misspell))
|
|
||||||
(home-page "https://golang.org/x/vuln")
|
(home-page "https://golang.org/x/vuln")
|
||||||
(synopsis "Go Vulnerability Management")
|
(synopsis "Go Vulnerability Management")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Reference in a new issue