From patchwork Sun Aug 14 12:41:26 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "\\(" X-Patchwork-Id: 41661 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 831A527BBEA; Sun, 14 Aug 2022 13:42:11 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 48CB527BBE9 for ; Sun, 14 Aug 2022 13:42:11 +0100 (BST) Received: from localhost ([::1]:53802 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oNCwU-00012A-Cj for patchwork@mira.cbaines.net; Sun, 14 Aug 2022 08:42:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60778) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oNCwM-00011K-2G for guix-patches@gnu.org; Sun, 14 Aug 2022 08:42:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46382) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oNCwL-0004Un-PY for guix-patches@gnu.org; Sun, 14 Aug 2022 08:42:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oNCwL-00034o-JN for guix-patches@gnu.org; Sun, 14 Aug 2022 08:42:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56908] [PATCH v3] gnu: Add gopls. References: <20220803114355.13792-1-paren@disroot.org> In-Reply-To: <20220803114355.13792-1-paren@disroot.org> Resent-From: "(" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 14 Aug 2022 12:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56908 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56908@debbugs.gnu.org Cc: "\(" Received: via spool by 56908-submit@debbugs.gnu.org id=B56908.166048089711796 (code B ref 56908); Sun, 14 Aug 2022 12:42:01 +0000 Received: (at 56908) by debbugs.gnu.org; 14 Aug 2022 12:41:37 +0000 Received: from localhost ([127.0.0.1]:36131 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNCvx-00034C-0a for submit@debbugs.gnu.org; Sun, 14 Aug 2022 08:41:37 -0400 Received: from knopi.disroot.org ([178.21.23.139]:50842) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNCvv-000344-MK for 56908@debbugs.gnu.org; Sun, 14 Aug 2022 08:41:36 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id EDF4740118; Sun, 14 Aug 2022 14:41:34 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jWtc_tN8DVmm; Sun, 14 Aug 2022 14:41:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1660480893; bh=CgYZv6UzAjwhRpBgRjCCeHDTbmk/R1OyKw1LwKvhC/c=; h=From:To:Cc:Subject:Date; b=P7PKYyH4/4u8g2gSCU2iA0OYBzcQNdNul2Oh7tG8UWmiCMwNbSijL50tiQm/obi6h GMKilSbeiF68eVt8bdLj2MjEJyXYqj3NBbhdxX1sUkSP73kSBdbFyRVcw50j/Z4b9Q V+iSnxqoT9jgGuMKriJ1IjCLlbSY6mWiGVBpUtPA+FBbEXwp3kCp6gAe2E2UdsBWPu pevXbT+55GkjgutYYdQQLEZFWyenFUWzsnHh3dhxLuVTESxCgikfZ8hwrtp/Tg71O0 7u2pf69XMZgEcREknZdjyLB365eMk8Ag86SXe43NfSDLbABDBUEETe/JN6fPzEIMjf 1KgWf7VrasqDA== Date: Sun, 14 Aug 2022 13:41:26 +0100 Message-Id: <20220814124126.14868-1-paren@disroot.org> Mime-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: "\(" X-ACL-Warn: , "\( via Guix-patches" X-Patchwork-Original-From: "\( via Guix-patches" via From: "\\(" X-getmail-retrieved-from-mailbox: Patches * 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"))