From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id uFD1MyNg6mKe/gAAbAwnHQ (envelope-from ) for ; Wed, 03 Aug 2022 13:46:43 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id cHMGNCNg6mJ0IAEA9RJhRA (envelope-from ) for ; Wed, 03 Aug 2022 13:46:43 +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 6D1A7228E2 for ; Wed, 3 Aug 2022 13:46:43 +0200 (CEST) Received: from localhost ([::1]:45948 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oJCpm-0003mj-92 for larch@yhetil.org; Wed, 03 Aug 2022 07:46:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52008) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJCoA-0003kc-UO for guix-patches@gnu.org; Wed, 03 Aug 2022 07:45:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56555) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oJCoA-0004hw-L3 for guix-patches@gnu.org; Wed, 03 Aug 2022 07:45:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oJCoA-0002LG-EI for guix-patches@gnu.org; Wed, 03 Aug 2022 07:45:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56908] [PATCH] gnu: packages: Add gopls. Resent-From: "(" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 03 Aug 2022 11:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 56908 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56908@debbugs.gnu.org Cc: "\(" X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16595270578928 (code B ref -1); Wed, 03 Aug 2022 11:45:02 +0000 Received: (at submit) by debbugs.gnu.org; 3 Aug 2022 11:44:17 +0000 Received: from localhost ([127.0.0.1]:46304 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJCnQ-0002Jv-Vq for submit@debbugs.gnu.org; Wed, 03 Aug 2022 07:44:17 -0400 Received: from lists.gnu.org ([209.51.188.17]:60664) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJCnL-0002Jk-Es for submit@debbugs.gnu.org; Wed, 03 Aug 2022 07:44:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51882) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJCnL-00039D-9L for guix-patches@gnu.org; Wed, 03 Aug 2022 07:44:11 -0400 Received: from knopi.disroot.org ([178.21.23.139]:48798) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJCnJ-0004b5-Bd for guix-patches@gnu.org; Wed, 03 Aug 2022 07:44:10 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 3A12640DEA; Wed, 3 Aug 2022 13:44:03 +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 W19s-Zg5CkO8; Wed, 3 Aug 2022 13:44:02 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1659527041; bh=qVWuIQJRyKuV4lps9Lm5q9QtnaKXtSDTSkN5ojaZkEM=; h=From:To:Cc:Subject:Date; b=DlUmO6ga0gqlSHgUvgHejfnwsCu55Obis+FEpj6JVnbL/x9JvzwPPMOadhTYWXGwD Xh098aAywkhYhEdMlyVsw7cyoEc+BpudU1j0Ifln0lAXRVfAkf72c0XROf+cXMGEgv V3xkFudc7pySE8KsCPrH1ZYZvrcXS7bw2KqInmH5TUj5HkA6yf0JRacI28CGceNUYH lyTasQ0PsxrUF2LlMwHHl1Q6vXo+SsoBNQW7sixB/+EE+tS6B6MGMzhlL+TPsVOFDe Xw2LKCDWaqJbD6Bi7sy7K9oj9ljyQYAhOusp51uVzrWPKT2lLU6KkTIQlCvmGpS8Xe 6lG7lJkGPL11A== Date: Wed, 3 Aug 2022 12:43:55 +0100 Message-Id: <20220803114355.13792-1-paren@disroot.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=178.21.23.139; envelope-from=paren@disroot.org; helo=knopi.disroot.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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=1659527203; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=JfTnwVJWfdWQmdAr7vHPIAjzLZ2wofWoAQQWZmirbgo=; b=U0rSaEX3WwLE0KeCckN5HlGPjrnQC9wLikBcUGJW6DIynOtCfpkqkbs2A7sAS7YNWRWi8c q5cWxGlaLMWn6PmyGEFrEkiI4uzBgG3MHlO6j6JAN9oOVoYbbJ7haveDxrSuIvQrpfAtCM 0OXuTK7SE+63S9RF7wT3kY6uHx0H6VTR0IFss6ls+Al1vcDimhCvL1m4BCCJt4piHj6WL1 SSGgH4IbS2RF34j7t/57fT8XDDepkXqKCGU8Sqb2CAJBvr8r2yqG9o3iMEGwusZvGmSyJV hjWaSWmAl3ZIPp5b12yL229Won/vCM5LFrjm6kqiA5Bea7eMddz8B321N3SRiw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1659527203; a=rsa-sha256; cv=none; b=gV3Wau7A8+vOXlbBYZSeqGavmBm8w4kMRC2bhUvaWUeTXgqrbZhQEP8hWTH25bgE40MAiK BAZZ+jPJ/rNQZ/yMqL8TF25Dxph4ksiX9KsXVf2hIm7gF9dIPCFZC9S6Axckmp0Rkv8dbS jTxWbDaSEouBlUgZB/jJznr8XEn0wddRA53EaZ6rUIbfVyCEMJSP2zU6r6P6dd1rr7i4+H Wzryyq2lEhAIdxjhuShAl+a7lSuKx+SdiASdS1fq5E8D+oyVS46ryRPjM/F47osD+OGTK9 VVyy//Df4MVmXeo//t7JBOw31Unzn2hK9PCpiHUmUvtDtHieLTC/GpckKp82Sw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=DlUmO6ga; 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: -4.21 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=DlUmO6ga; 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: 6D1A7228E2 X-Spam-Score: -4.21 X-Migadu-Scanner: scn0.migadu.com X-TUID: 5/jb1Bl4/J81 * 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 ;;; Copyright © 2022 Pier-Hugues Pellerin ;;; Copyright © 2022 muradm +;;; Copyright © 2022 ( ;;; ;;; 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