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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 56908 in the body.
You can then email your comments to 56908 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#56908; Package guix-patches. (Wed, 03 Aug 2022 11:45:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to "(" <paren <at> disroot.org>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Wed, 03 Aug 2022 11:45:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "(" <paren <at> disroot.org>
To: guix-patches <at> gnu.org
Cc: "\(" <paren <at> disroot.org>
Subject: [PATCH] gnu: packages: Add gopls.
Date: Wed,  3 Aug 2022 12:43:55 +0100
* gnu/packages/golang.scm (gopls): New variable.
---
 gnu/packages/golang.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 1ce55875d8..4756bcb249 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,22 @@ (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))
+   (propagated-inputs
+    (modify-inputs (package-propagated-inputs
+                    go-golang-org-x-tools)
+      (prepend 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





Information forwarded to guix-patches <at> gnu.org:
bug#56908; Package guix-patches. (Thu, 04 Aug 2022 17:36:02 GMT) Full text and rfc822 format available.

Message #8 received at 56908 <at> debbugs.gnu.org (full text, mbox):

From: "(" <paren <at> disroot.org>
To: 56908 <at> debbugs.gnu.org
Cc: "\(" <paren <at> disroot.org>
Subject: [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





Information forwarded to guix-patches <at> gnu.org:
bug#56908; Package guix-patches. (Thu, 04 Aug 2022 17:38:01 GMT) Full text and rfc822 format available.

Message #11 received at 56908 <at> debbugs.gnu.org (full text, mbox):

From: "(" <paren <at> disroot.org>
To: "(" <paren <at> disroot.org>, <56908 <at> debbugs.gnu.org>
Subject: Re: [PATCH v2] gnu: packages: Add gopls.
Date: Thu, 04 Aug 2022 18:37:37 +0100
This improved patch doesn't use propagated-inputs or modify-inputs (since
x-tools doesn't have any inputs anyway).

    -- (




Information forwarded to guix-patches <at> gnu.org:
bug#56908; Package guix-patches. (Sun, 14 Aug 2022 12:42:01 GMT) Full text and rfc822 format available.

Message #14 received at 56908 <at> debbugs.gnu.org (full text, mbox):

From: "(" <paren <at> disroot.org>
To: 56908 <at> debbugs.gnu.org
Cc: "\(" <paren <at> disroot.org>
Subject: [PATCH v3] gnu: Add gopls.
Date: Sun, 14 Aug 2022 13:41:26 +0100
* 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





Information forwarded to guix-patches <at> gnu.org:
bug#56908; Package guix-patches. (Sun, 14 Aug 2022 13:54:01 GMT) Full text and rfc822 format available.

Message #17 received at 56908 <at> debbugs.gnu.org (full text, mbox):

From: "(" <paren <at> disroot.org>
To: "(" <paren <at> disroot.org>, <56908 <at> debbugs.gnu.org>
Subject: Re: [PATCH v3] gnu: Add gopls.
Date: Sun, 14 Aug 2022 14:52:58 +0100
Uh, please ignore this patch. I think it may be missing lots of
dependencies. I'll send a v4 with the missing deps when I have
time.

    -- (




bug closed, send any further explanations to 56908 <at> debbugs.gnu.org and "(" <paren <at> disroot.org> Request was from "(" <paren <at> disroot.org> to control <at> debbugs.gnu.org. (Mon, 26 Sep 2022 06:40:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 24 Oct 2022 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 184 days ago.

Previous Next


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