From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id EHmeFJMD7GKzRwEAbAwnHQ (envelope-from ) for ; Thu, 04 Aug 2022 19:36:19 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id gN6XE5MD7GJK8AAAG6o9tA (envelope-from ) for ; Thu, 04 Aug 2022 19:36:19 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id EF8B98C37 for ; Thu, 4 Aug 2022 19:36:18 +0200 (CEST) Received: from localhost ([::1]:58954 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oJele-0005qV-3l for larch@yhetil.org; Thu, 04 Aug 2022 13:36:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53164) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJelO-0005nx-KV for guix-patches@gnu.org; Thu, 04 Aug 2022 13:36:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36816) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oJelO-0003Qc-BT for guix-patches@gnu.org; Thu, 04 Aug 2022 13:36:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oJelO-00052x-3R for guix-patches@gnu.org; Thu, 04 Aug 2022 13:36:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56908] [PATCH v2] gnu: packages: 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: Thu, 04 Aug 2022 17:36:02 +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.165963455519387 (code B ref 56908); Thu, 04 Aug 2022 17:36:02 +0000 Received: (at 56908) by debbugs.gnu.org; 4 Aug 2022 17:35:55 +0000 Received: from localhost ([127.0.0.1]:54798 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJelH-00052d-87 for submit@debbugs.gnu.org; Thu, 04 Aug 2022 13:35:55 -0400 Received: from knopi.disroot.org ([178.21.23.139]:42234) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJelE-00052U-Tz for 56908@debbugs.gnu.org; Thu, 04 Aug 2022 13:35:53 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 9949340E5A; Thu, 4 Aug 2022 19:35:51 +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 AXJlHr4ktAt8; Thu, 4 Aug 2022 19:35:50 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1659634550; bh=CP6j1nKHL1hF02isKoQEMBlLOLdA6E3S8lSm6YQzTzY=; h=From:To:Cc:Subject:Date; b=cEB3LE8V3GcziZ2f943afDlWIVUPK5BJcAB2JwnCVQg4YmuOihaqJ9eqZiF1Ies16 Vx/OII3Q0brkfR18/L7/ihmVTTvKxd5iwgZsbEb57kvSaj2JpiRblRXcWLEwZkuz/U sFBHbv+frcV5lSgVKMME+yB7Oeadw36Jaz6EVuifTLFMSnhuYVBcLFVHScngxP+lau 6MvZ0p90gzLGnwsnRXVm96C3VivAqR+JT0mrNUW2UUDBBIjXeq2BTo+bBD7GL9nmJR a5iyvZqU8d5pJT51Ojc2hwiyFjAjB0HJT8uYBPVs/M6aFrawGoBlhOXTVlDj1hgHYd lJPolxEJYFj9w== Date: Thu, 4 Aug 2022 18:35:45 +0100 Message-Id: <20220804173545.2274-1-paren@disroot.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: "\(" X-ACL-Warn: , "\( via Guix-patches" From: "\( via Guix-patches" via X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1659634579; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=bupZlOJWKPRuN6VaLKK045SEhSG5YpnROJfpoj8iXCg=; b=dR/QoXFKXgSc6uyCefhJonoHh++MONs5VcPKwLLDTAseVeEA9jujVD/2vDn7C2I2hAZHtp wBH7sTWn8cmvtn898VR76GlcmPeR2z7GezlezJrFCLO006YDRURh70iuKn00T52E/Hz6CL LeO2yGKO0jMuWNOPqNAPeclXl0WXD5X7bCtTxbDQL1MNzw/Fv1ItQ7ruH9Om0CM6NyQsBB KnjxQ1nNAasjQcVhXodYIgQyDBhmUJFVxtuJiQo8Vdjd0TyGUnOuhFKIbc2ZPIjXZHpcId 4tWxX4gA+ICdmJ7aL4GF5qIhCHYyeEzCeN0lFUtnqyB8Lt+afFb6dEcuk7CtTw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1659634579; a=rsa-sha256; cv=none; b=VL2spLcOGYGOsOYZIt+0RgbZV5igIh7AfcoQQW+/VyiYvQ4+LAI7qSFnVsODGBOQalGi8y +sBF61Ag2eTwANA+IQ/OT8uvltQ/hSA8mBugnxOxtM8ZjP9cN9g15AtDQFaa/SOtEIqv3o RVRytG8F8MbrLkXYcvS7nKxoxvv6GynttNhWJcrKR68NSRgdq0mxRaYnOESHjvQA6KdEmr PjjvoLGrzIXOmG2nBjbcgs9EQRlLwQQ4LlBh8uCkL+ue1rDvt6c6RI6KuyNTQD9ZQuzPwl hkcWIe0qefEcPInrRI+EEXdFjuvP+k9dkzw9WhZ9g1A0oXkdKBwtU4zQasIRGA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=cEB3LE8V; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.91 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=cEB3LE8V; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: EF8B98C37 X-Spam-Score: -2.91 X-Migadu-Scanner: scn1.migadu.com X-TUID: Nr6XDZ9wg4P4 * 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 ;;; Copyright © 2022 Pier-Hugues Pellerin ;;; Copyright © 2022 muradm +;;; Copyright © 2022 ( ;;; ;;; 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