diff options
author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-07-13 18:29:08 +0100 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-07-15 12:17:52 +0100 |
commit | 07dbf74fb83c17cb9851ff4fa2f3435feaab1083 (patch) | |
tree | fa17a7f889152d884e27bb7c7c55801994131df9 /gnu/packages/golang.scm | |
parent | 39b908a389fcea3660c628920f4ba5d6510dbe64 (diff) | |
download | guix-07dbf74fb83c17cb9851ff4fa2f3435feaab1083.tar guix-07dbf74fb83c17cb9851ff4fa2f3435feaab1083.tar.gz |
gnu: govulncheck: Update to 0.0.0-20230110180137-6ad3e3d07815.
* gnu/packages/golang.scm (govulncheck): Update to
0.0.0-20230110180137-6ad3e3d07815.
[arguments]: <#:tests?>: Disable as requiring network access.
<#:import-path>: Adjust to reflect go.mod for cmd/.
<#:unpack-path>: Add it.
<#:phases>: Remove all redundant custom phases.
Change-Id: I57dd70fd2e018d9d92a2170d7e9c32080d7d2c2c
Diffstat (limited to 'gnu/packages/golang.scm')
-rw-r--r-- | gnu/packages/golang.scm | 22 |
1 files changed, 7 insertions, 15 deletions
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 4d1a07355c..dd629ad29c 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -3157,7 +3157,9 @@ command-line parsers.") (define-public govulncheck (package (name "govulncheck") - (version "0.0.0-20221229164908-ebf31f7dc3ef") + ;; XXX: Newer version of govulncheck requires golang.org/x/telemetry, + ;; which needs to be discussed if it may be included in Guix. + (version "0.0.0-20230110180137-6ad3e3d07815") (source (origin (method git-fetch) (uri (git-reference @@ -3166,23 +3168,13 @@ command-line parsers.") (file-name (git-file-name name version)) (sha256 (base32 - "1w055g90k7anrrcvfrsqklxzl9pl0vqdiwpayj9f0brwys9xhj7d")))) + "1fhz27ni8bs872rgvqq700qacak9v45zy0fh2hilq21sk6dks72r")))) (build-system go-build-system) (arguments - `(#:import-path "golang.org/x/vuln" + `(#:tests? #f ; it tires to download modules from the network #:install-source? #f - #:phases ,#~(modify-phases %standard-phases - (add-after 'unpack 'remove-go-mod-tidy - (lambda _ - (substitute* "src/golang.org/x/vuln/checks.bash" - (("go mod tidy") - #$(file-append coreutils-minimal "/bin/true"))))) - (replace 'build - (lambda arguments - (apply (assoc-ref %standard-phases - 'build) - `(,@arguments #:import-path - "golang.org/x/vuln/cmd/govulncheck"))))))) + #:import-path "golang.org/x/vuln/cmd/govulncheck" + #:unpack-path "golang.org/x/vuln")) (native-inputs (list coreutils-minimal)) (inputs (list go-golang-org-x-sys go-github-com-google-renameio |