From 05299e344ab3e2edfeb9468638323e40c0d1c286 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Fri, 13 Sep 2024 10:25:00 +0100 Subject: gnu: go-golang-org-x-vuln: Move to golang-build. * gnu/packages/golang.scm (go-golang-org-x-vuln, govulncheck): Move from here ... * gnu/packages/golang-build.scm: ... to here. Change-Id: I5fc09c4e9e156005f494e532339a05b6c8b395ad --- gnu/packages/golang.scm | 57 ------------------------------------------------- 1 file changed, 57 deletions(-) (limited to 'gnu/packages/golang.scm') diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index af71084915..ceaca67cc0 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -3107,63 +3107,6 @@ command-line parsers.") (home-page "https://github.com/tj/docopt") (license license:expat))) -(define-public go-golang-org-x-vuln - (package - (name "go-golang-org-x-vuln") - ;; XXX: Newer version of govulncheck requires golang.org/x/telemetry, - ;; which needs to be discussed if it may be included in Guix. - (version "1.1.3") - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://go.googlesource.com/vuln") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 "0izm18r8ksx4n10an9nxyflc8cgr766qrwfmx5nbk702x80prln9")))) - (build-system go-build-system) - (arguments - (list - #:tests? #f ; it tires to download modules from the network - #:import-path "golang.org/x/vuln" - #:phases - #~(modify-phases %standard-phases - ;; XXX: Workaround for go-build-system's lack of Go modules support. - (delete 'build) - (replace 'check - (lambda* (#:key tests? import-path #:allow-other-keys) - (when tests? - (with-directory-excursion (string-append "src/" import-path) - (invoke "go" "test" "-v" - "./doc/..." - "./internal/..." - "./scan/...")))))))) - (propagated-inputs - (list go-github-com-google-go-cmdtest - go-github-com-google-go-cmp - go-golang-org-x-mod - go-golang-org-x-sync - go-golang-org-x-telemetry - go-golang-org-x-tools)) - (home-page "https://golang.org/x/vuln") - (synopsis "Go Vulnerability Management") - (description - "This repository contains packages for accessing and analyzing data from -the @url{https://vuln.go.dev,Go Vulnerability Database}.") - (license license:bsd-3))) - -(define-public govulncheck - (package - (inherit go-golang-org-x-vuln) - (name "govulncheck") - (arguments - (list - #:tests? #f - #:install-source? #f - #:import-path "golang.org/x/vuln/cmd/govulncheck" - #:unpack-path "golang.org/x/vuln")))) - (define-public gopls (package (name "gopls") -- cgit v1.2.3