[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
25/25: gnu: Add gopls.
From: |
guix-commits |
Subject: |
25/25: gnu: Add gopls. |
Date: |
Mon, 6 Feb 2023 18:06:22 -0500 (EST) |
cbaines pushed a commit to branch master
in repository guix.
commit f3ab5888a0bc6446104ddbba41a413a86eb298e2
Author: Katherine Cox-Buday <cox.katherine.e@gmail.com>
AuthorDate: Tue Jan 17 18:45:10 2023 -0700
gnu: Add gopls.
* gnu/packages/golang.scm (gopls): New variable.
Signed-off-by: Christopher Baines <mail@cbaines.net>
---
gnu/packages/golang.scm | 46 ++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 46 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 4478ade953..62766d8dd2 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -3020,6 +3020,52 @@ the @url{https://vuln.go.dev,Go Vulnerability
Database}.")
(native-inputs '())
(inputs '())))
+(define-public gopls
+ (package
+ (name "gopls")
+ (version "0.11.0")
+ (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
+ "1l9y1rp7x51s6dnjn227fhdlnz4z1h41jn3x1aq49qki241w7m73"))))
+ (build-system go-build-system)
+ (arguments
+ `(#: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-jba-printsrc
+ go-github-com-jba-templatecheck
+ go-github-com-sergi-go-diff
+ go-golang-org-x-mod
+ go-golang-org-x-sync
+ go-golang-org-x-sys
+ go-golang-org-x-text
+ go-gopkg-in-yaml-v3
+ go-honnef-co-go-tools
+ go-github-com-burntsushi-toml
+ go-github-com-google-safehtml
+ go-golang-org-x-exp
+ go-mvdan-cc-gofumpt
+ go-golang-org-x-vuln
+ 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)))
+
(define-public go-github-com-protonmail-go-crypto
(package
(name "go-github-com-protonmail-go-crypto")
- 23/25: gnu: Add gofumpt., (continued)
- 23/25: gnu: Add gofumpt., guix-commits, 2023/02/06
- 24/25: gnu: Add go-mvdan-cc-gofumpt., guix-commits, 2023/02/06
- 09/25: gnu: go-github-com-rogpeppe-go-internal: Update to 1.9.0., guix-commits, 2023/02/06
- 16/25: gnu: Add go-github-com-google-go-cmdtest., guix-commits, 2023/02/06
- 20/25: gnu: Add go-golang-org-x-vuln., guix-commits, 2023/02/06
- 22/25: gnu: go-honnef-co-go-tools: Update to 0.3.3., guix-commits, 2023/02/06
- 17/25: gnu: Add unparam., guix-commits, 2023/02/06
- 01/25: gnu: go-golang-org-x-sync: Update to 0.1.0-1.8fcdb60., guix-commits, 2023/02/06
- 18/25: gnu: Add go-mvdan-cc-unparam., guix-commits, 2023/02/06
- 19/25: gnu: Add govulncheck., guix-commits, 2023/02/06
- 25/25: gnu: Add gopls.,
guix-commits <=