summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlec Scott <hi@alecbcs.com>2024-10-22 14:19:06 -0700
committerGitHub <noreply@github.com>2024-10-22 14:19:06 -0700
commita53a14346eb1a2a57ce2acd7095a9e3882cc3f10 (patch)
treec79d5e51505865b49f7120b60e504ea4c65d9ab5
parentc102ff953bc948cb897ce4947d2bcc1c248eba4d (diff)
downloadspack-a53a14346eb1a2a57ce2acd7095a9e3882cc3f10.tar.gz
spack-a53a14346eb1a2a57ce2acd7095a9e3882cc3f10.tar.bz2
spack-a53a14346eb1a2a57ce2acd7095a9e3882cc3f10.tar.xz
spack-a53a14346eb1a2a57ce2acd7095a9e3882cc3f10.zip
gopls: new package (#47137)
-rw-r--r--var/spack/repos/builtin/packages/gopls/package.py21
1 files changed, 21 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/gopls/package.py b/var/spack/repos/builtin/packages/gopls/package.py
new file mode 100644
index 0000000000..ba4959d9d9
--- /dev/null
+++ b/var/spack/repos/builtin/packages/gopls/package.py
@@ -0,0 +1,21 @@
+# Copyright 2013-2024 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack.package import *
+
+
+class Gopls(GoPackage):
+ """The official Go language server developed by the Go team."""
+
+ homepage = "https://golang.org/x/tools/gopls"
+ url = "https://github.com/golang/tools/archive/refs/tags/gopls/v0.16.2.tar.gz"
+
+ maintainers("alecbcs")
+
+ license("BSD-3-Clause", checked_by="alecbcs")
+
+ version("0.16.2", sha256="be68b3159fcb8cde9ebb8b468f67f03531c58be2de33edbac69e5599f2d4a2c1")
+
+ build_directory = "gopls"