summary refs log tree commit diff
path: root/gnu/packages/golang.scm
diff options
context:
space:
mode:
authorKatherine Cox-Buday <cox.katherine.e@gmail.com>2023-01-17 18:45:05 -0700
committerChristopher Baines <mail@cbaines.net>2023-02-07 00:05:54 +0100
commit967ce806f4abcd3323adf3488c39afaf5f527c25 (patch)
treeb01b05984c6aef0b2e96ff490ddf78a6b757ce38 /gnu/packages/golang.scm
parent83b58b5f51134b8faf02e07b83f2349e335abb84 (diff)
downloadguix-967ce806f4abcd3323adf3488c39afaf5f527c25.tar.gz
gnu: Add go-golang-org-x-vuln.
* gnu/packages/golang.scm (go-golang-org-x-vuln): New variable.

Signed-off-by: Christopher Baines <mail@cbaines.net>
Diffstat (limited to 'gnu/packages/golang.scm')
-rw-r--r--gnu/packages/golang.scm14
1 files changed, 14 insertions, 0 deletions
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 3602441b80..4bf62976d4 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -3006,6 +3006,20 @@ for the Go language.")
 the @url{https://vuln.go.dev,Go Vulnerability Database}.")
     (license license:bsd-3)))
 
+(define-public go-golang-org-x-vuln
+  (package
+    (inherit govulncheck)
+    (name "go-golang-org-x-vuln")
+    (arguments
+     `(#:import-path "golang.org/x/vuln"
+       #:tests? #f
+       #:install-source? #t
+       #:phases (modify-phases %standard-phases
+                  (delete 'build))))
+    (propagated-inputs (package-inputs govulncheck))
+    (native-inputs '())
+    (inputs '())))
+
 (define-public go-github-com-protonmail-go-crypto
   (package
     (name "go-github-com-protonmail-go-crypto")