blob: 48b3f833be7869b335b3badb174ec81d08f4c02b (
about) (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
|
;; Based on the gopls package in Guix, but with the version number changed
;; and compiled with Go 1.20.
(define-module (johnlepikhin packages golang)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix utils)
#:use-module (guix gexp)
#:use-module (guix git-download)
#:use-module (guix build-system go)
#:use-module (guix packages)
#:use-module (gnu packages golang)
#:use-module (gnu packages golang-web)
#:use-module (gnu packages golang-check))
(define-public go-golang-org-x-telemetry
(package
(name "go-golang-org-x-telemetry")
(version "0.10.0")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://go.googlesource.com/telemetry")
(commit (string-append "config/v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"16d63fqpcnnl701n4gl0p5lnkxq49ibmidfvznk1ib1z60p1x35a"))))
(build-system go-build-system)
(arguments
'(#:import-path "golang.org/x/telemetry"
;; Source-only package
#:tests? #f
#:phases (modify-phases %standard-phases
(delete 'build))))
(home-page "https://golang.org/x/telemetry")
(synopsis "Telemetry server code and libraries for Go")
(description
"This repository holds the Go Telemetry server code and libraries.")
(license license:bsd-3)))
(define-public go-golang-org-x-vuln-1
(package
(name "go-golang-org-x-vuln-1")
(version "1.0.1")
(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
"0m0fjj544b8fxv5jdg52hw9jx2sgv8hfzzigm7gsn0gjw2p4j1n0"))))
(build-system go-build-system)
(arguments
'(#:import-path "golang.org/x/vuln"
;; Source-only package
#:tests? #f
#:phases (modify-phases %standard-phases
(delete 'build))))
(home-page "https://golang.org/x/vuln")
(synopsis "Go vulnerability scanner")
(description
"Package scan provides functionality for running govulncheck.")
(license license:bsd-3)))
(define-public gopls-go1.20
(package
(name "gopls-go1.20")
(version "0.14.2")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://go.googlesource.com/tools")
(commit (string-append "gopls/v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"0qyqrjdrhdcz5a5c8iyyvrrwidxh9nn23z18v4b6vshsk4irrj45"))))
(build-system go-build-system)
(arguments
`(#:go ,go-1.20
#:import-path "golang.org/x/tools/gopls"
#:unpack-path "golang.org/x/tools"
#:install-source? #f
#:phases (modify-phases %standard-phases
(add-before 'unpack 'override-tools
(lambda _
(delete-file-recursively "src/golang.org/x/tools"))))))
(propagated-inputs (list go-github-com-google-go-cmp-cmp
go-github-com-sergi-go-diff
go-golang-org-x-sys
go-golang-org-x-telemetry
go-golang-org-x-text
go-honnef-co-go-tools
go-mvdan-cc-gofumpt
go-golang-org-x-vuln-1
go-mvdan-cc-xurls))
(home-page "https://golang.org/x/tools/gopls")
(synopsis "Official language server for the Go language")
(description
"Pronounced ``Go please'', this is the official Go language server
developed by the Go team. It provides IDE features to any LSP-compatible
editor.")
(license license:bsd-3)))
|