all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "\( via Guix-patches" via <guix-patches@gnu.org>
To: 56908@debbugs.gnu.org
Cc: "\(" <paren@disroot.org>
Subject: [bug#56908] [PATCH v3] gnu: Add gopls.
Date: Sun, 14 Aug 2022 13:41:26 +0100	[thread overview]
Message-ID: <20220814124126.14868-1-paren@disroot.org> (raw)
In-Reply-To: <20220803114355.13792-1-paren@disroot.org>

* gnu/packages/golang.scm (gopls): New variable.
---
 gnu/packages/golang.scm | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

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 @@ (define-public go-golang-org-x-tools
       (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"))
-- 
2.37.1





  parent reply	other threads:[~2022-08-14 12:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-03 11:43 [bug#56908] [PATCH] gnu: packages: Add gopls ( via Guix-patches via
2022-08-04 17:35 ` [bug#56908] [PATCH v2] " ( via Guix-patches via
2022-08-04 17:37   ` ( via Guix-patches via
2022-08-14 12:41 ` ( via Guix-patches via [this message]
2022-08-14 13:52   ` [bug#56908] [PATCH v3] gnu: " ( via Guix-patches via

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220814124126.14868-1-paren@disroot.org \
    --to=guix-patches@gnu.org \
    --cc=56908@debbugs.gnu.org \
    --cc=paren@disroot.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.