summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author( <paren@disroot.org>2022-08-14 13:41:26 +0100
committerGuix Patches Tester <>2022-08-14 13:44:26 +0100
commite30815ce22f289f2792cfd6df448369bfc3d44b0 (patch)
treec46da164055fcfb8dc29c4d65e3e0dcaaa6a233d
parent43decd1f7ea4ebd911199ad10c0ca555d0dffbd6 (diff)
downloadguix-patches-e30815ce22f289f2792cfd6df448369bfc3d44b0.tar
guix-patches-e30815ce22f289f2792cfd6df448369bfc3d44b0.tar.gz
gnu: Add gopls.
* gnu/packages/golang.scm (gopls): New variable.
-rw-r--r--gnu/packages/golang.scm16
1 files changed, 16 insertions, 0 deletions
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 1ce55875d8..1ade3b81b2 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -2560,6 +2560,22 @@ Go programming language.")
(home-page "https://go.googlesource.com/tools/")
(license license:bsd-3))))
+(define-public gopls
+ (package
+ (inherit go-golang-org-x-tools)
+ (name "gopls")
+ (arguments
+ (list #:unpack-path "golang.org/x/tools"
+ #:import-path "golang.org/x/tools/gopls"
+ #:install-source? #f))
+ (inputs (list go-golang-org-x-sync))
+ (synopsis "Go language server implementation")
+ (description
+ "This package provides the @acronym{LSP, Language Server Protocol}
+server implementation for the Go programming language. It provides
+on-the-fly code linting, formatting, completion, and introspection for
+Go code in text editors supporting LSP.")))
+
(define-public go-golang-org-x-crypto
(let ((commit "2aa609cf4a9d7d1126360de73b55b6002f9e052a")
(revision "5"))