GNU bug report logs - #56908
[PATCH] gnu: packages: Add gopls.

Previous Next

Package: guix-patches;

Reported by: "(" <paren <at> disroot.org>

Date: Wed, 3 Aug 2022 11:45:02 UTC

Severity: normal

Tags: patch

Done: "(" <paren <at> disroot.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: "(" <paren <at> disroot.org>
To: 56908 <at> debbugs.gnu.org
Cc: "\(" <paren <at> disroot.org>
Subject: [bug#56908] [PATCH v2] gnu: packages: Add gopls.
Date: Thu,  4 Aug 2022 18:35:45 +0100
* gnu/packages/golang.scm (gopls): New variable.
---
 gnu/packages/golang.scm | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 1ce55875d8..68fd8630a2 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -35,6 +35,7 @@
 ;;; Copyright © 2021 Lu Hui <luhux76 <at> gmail.com>
 ;;; Copyright © 2022 Pier-Hugues Pellerin <phpellerin <at> gmail.com>
 ;;; Copyright © 2022 muradm <mail <at> muradm.net>
+;;; Copyright © 2022 ( <paren <at> disroot.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -9891,3 +9892,19 @@ (define-public go-github-com-sourcegraph-jsonrpc2
     (description
      "Package jsonrpc2 provides a Go implementation of JSON-RPC 2.0.")
     (license license:expat)))
+
+(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.")))
-- 
2.37.1





This bug report was last modified 2 years and 239 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.