From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 0KayErhPx2P4LAEAbAwnHQ (envelope-from ) for ; Wed, 18 Jan 2023 02:47:36 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id IIqEErhPx2NpjgAAauVa8A (envelope-from ) for ; Wed, 18 Jan 2023 02:47:36 +0100 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 F132D8E8D for ; Wed, 18 Jan 2023 02:47:35 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pHxXw-00044P-U6; Tue, 17 Jan 2023 20:47:25 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pHxXe-0003d3-I3 for guix-patches@gnu.org; Tue, 17 Jan 2023 20:47:09 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pHxXa-0007Qd-Dn for guix-patches@gnu.org; Tue, 17 Jan 2023 20:47:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pHxXa-0007gC-A6 for guix-patches@gnu.org; Tue, 17 Jan 2023 20:47:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60899] [PATCH 25/25] gnu: Add gopls. Resent-From: Katherine Cox-Buday Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 18 Jan 2023 01:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60899 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 60899@debbugs.gnu.org Cc: Katherine Cox-Buday X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.167400637829444 (code B ref -1); Wed, 18 Jan 2023 01:47:02 +0000 Received: (at submit) by debbugs.gnu.org; 18 Jan 2023 01:46:18 +0000 Received: from localhost ([127.0.0.1]:38704 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pHxWs-0007ee-9F for submit@debbugs.gnu.org; Tue, 17 Jan 2023 20:46:18 -0500 Received: from lists.gnu.org ([209.51.188.17]:60254) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pHxWB-0007WH-Bi for submit@debbugs.gnu.org; Tue, 17 Jan 2023 20:45:35 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pHxW9-0002DI-8j for guix-patches@gnu.org; Tue, 17 Jan 2023 20:45:33 -0500 Received: from mail-il1-x133.google.com ([2607:f8b0:4864:20::133]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pHxW7-0006wh-H9 for guix-patches@gnu.org; Tue, 17 Jan 2023 20:45:33 -0500 Received: by mail-il1-x133.google.com with SMTP id d10so16365907ilc.12 for ; Tue, 17 Jan 2023 17:45:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Jb2YZcfQTXgAKKqkTCSHsrnL1OBD0pNzJdDwP+D9tTw=; b=DiFNQJhmPkGOtb9AB43sOjjqrlkX45FYq9mtKuypIbG+2ieSEV5jgpjYP+o6wBmP99 btT8zPPikotWmE/hFD21twN5LFca1JtYSUo6FcaKmxW/eqsvL2W1kGOzbm88nuATy9U3 gW6BauT/UhTNi45gaHpH/412fxg5xZc35wCD7abOGdF3YcLBo6j+wjWl8+PxgCiOweD6 bg2c7mNKew6+VP3rDxKcCnDr0Q9OZWtds2vC2BrfvTOFt6olqGSZLN52JJMNGCu2JJSH +OXsyaMQc57uqRg96yoB+E2DYxNnSUEx5BvyBMWF4OC0EeMBsgznCp0gHGMXc1eSCQ4O N0UA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Jb2YZcfQTXgAKKqkTCSHsrnL1OBD0pNzJdDwP+D9tTw=; b=NowRc9NMQ3bu6dEdIF93mYjsapFXgrBPOWMkJjA0qY2R04eNBW4GP4CvX9FLZ5N7Zm EzIUT3rJM/+i+U6K5WU6MEjd1BMtXlbih1gRDOCM4LsNQLN8U36gKVtAfPewhmSKZyIl o1cIDdEz/bfQq9Bwr41pKUIWCcMR6JqnoFmMKKIk9kHkJMDAC9leCTntculOLT0oe8oD fr2PgVz3ktP761bKff/WXqs33ES3Zs2rvILd1mvPMmjiM2o7uakwXXXsY1YeLd1J0TpF 4KI+Hs7Z238AF/kFrL+geLz6D0kIALkeHaozPS0FomFNjiIX4ZFKbulqtCRbqnzAGMMs Iauw== X-Gm-Message-State: AFqh2kouEw3SF29lgOZXZ99ozNBSzOuRChqjJcXI0PjTu6xPr1u4y4ud EZGddZj3DMmDfKWW9/V3BVW4kyEQt8k= X-Google-Smtp-Source: AMrXdXtxtKUTd7SXBNStZCtZ+kyE/ntwrSR9PFRPXdKCZMPK8J8/XDfKTKk1SNwTJfstWGeFKqW1mA== X-Received: by 2002:a05:6e02:d07:b0:30b:e56f:f2f7 with SMTP id g7-20020a056e020d0700b0030be56ff2f7mr4013301ilj.24.1674006330535; Tue, 17 Jan 2023 17:45:30 -0800 (PST) Received: from washu-v4.home.cox-buday.com (c-174-51-139-101.hsd1.co.comcast.net. [174.51.139.101]) by smtp.gmail.com with ESMTPSA id p32-20020a056638192000b0039e89ea68f9sm7889250jal.135.2023.01.17.17.45.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Jan 2023 17:45:30 -0800 (PST) From: Katherine Cox-Buday Date: Tue, 17 Jan 2023 18:45:10 -0700 Message-Id: <20230118014510.19320-26-cox.katherine.e@gmail.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230118014510.19320-1-cox.katherine.e@gmail.com> References: <20230118014510.19320-1-cox.katherine.e@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::133; envelope-from=cox.katherine.e@gmail.com; helo=mail-il1-x133.google.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1674006456; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: 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=Jb2YZcfQTXgAKKqkTCSHsrnL1OBD0pNzJdDwP+D9tTw=; b=HBGhFVvSRqJDnCI6hRxTQuxsEeYfZYaMwABPPjbm4BaBuvzyWFW86F1ooKcyX7R5dL11RR ZhxQXzAn/BJ2Zbr1PUjjXe1X+iN9AA9JXAKDlQc0Wucmf0OiUYyuFKW8Bv1dcodf4SCFfc O5LYYcNSz9qkjwx+cS6pd8LYR4iyOIzV7GNirb4dv0RC9C6DVIpVlGtsniro9FktPBWVSM kRcl0syqOL4zAHWAvdYVwg+UtCa7A8sjXcBMYN0Gs8CMe66gBAlkZzaCcOUBuazb7UCj3W 3w7C/C6S26GbcV9uhARucwv27R3HeQRqLB/aJ6GNLBijgx7aQrxngh0Ydims9Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=DiFNQJhm; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1674006456; a=rsa-sha256; cv=none; b=bZ4hSFlspbY/XMQib3oeaW562qaPalPgxNddXmdPkwdWbDfeKFXI7EW+O06Zcg/+pi/IEC UMgVPKRfirXEvGDRv7izx2D9pgXJ9Hy4kDg3PnNai6IrwCAc051ITgZ4lP0h4xVMJPJjLC D+XxwWvy9Og0s6HlwFFgZy8y8ELgFP340m1FbS7nbm2htQ8URBFDODeeq2cuI0OfaDj0C+ EUD0tPJ6HiN0Na2jOBmKsC0/Y0CCToAMR573LfYDecTTDWYqhqgB7gd4E43g94ts6gfqTo DVhujZxVGBzUwanl6AW/JldQPurhdW1RSY6JNF5BXuUl2bizvZ6dqlcLoaZpcw== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: 6.17 X-Spam-Score: 6.17 X-Migadu-Queue-Id: F132D8E8D Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=DiFNQJhm; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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-TUID: 1L22TXNGdr77 * gnu/packages/golang.scm (gopls): New variable. --- gnu/packages/golang.scm | 45 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 3dcd97a8c1..faa6c61bc4 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -3021,6 +3021,51 @@ (define-public go-golang-org-x-vuln (native-inputs '()) (inputs '()))) +(define-public gopls + (package + (name "gopls") + (version "0.11.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://go.googlesource.com/tools") + (commit (string-append "gopls/v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1l9y1rp7x51s6dnjn227fhdlnz4z1h41jn3x1aq49qki241w7m73")))) + (build-system go-build-system) + (arguments + `(#:import-path "golang.org/x/tools/gopls" + #:unpack-path "golang.org/x/tools" + #:install-source? #f + #:phases (modify-phases %standard-phases + (add-before 'unpack 'override-tools + (lambda _ + (delete-file-recursively "src/golang.org/x/tools")))))) + (propagated-inputs (list go-github-com-google-go-cmp-cmp + go-github-com-jba-printsrc + go-github-com-jba-templatecheck + go-github-com-sergi-go-diff + go-golang-org-x-mod + go-golang-org-x-sync + go-golang-org-x-sys + go-golang-org-x-text + go-gopkg-in-yaml-v3 + go-honnef-co-go-tools + go-github-com-burntsushi-toml + go-github-com-google-safehtml + go-golang-org-x-exp + go-mvdan-cc-gofumpt + go-golang-org-x-vuln + go-mvdan-cc-xurls)) + (home-page "https://golang.org/x/tools/gopls") + (synopsis "Official language server for the Go language") + (description + "Pronounced \"Go please\", this is the official Go language server developed by +the Go team. It provides IDE features to any LSP-compatible editor.") + (license license:bsd-3))) + (define-public go-github-com-protonmail-go-crypto (package (name "go-github-com-protonmail-go-crypto") -- 2.38.1