summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorWileam Y. Phan <50928756+wyphan@users.noreply.github.com>2022-08-25 14:23:15 -0400
committerGitHub <noreply@github.com>2022-08-25 11:23:15 -0700
commitb482c71b433c028424cbbd43787b7ec085bf1456 (patch)
treeb28e97f7c6fa69b0a928035f9e415b2b9674f804 /var
parentff2874333def2d62f2c8b0e4af9d1c44afc53e33 (diff)
downloadspack-b482c71b433c028424cbbd43787b7ec085bf1456.tar.gz
spack-b482c71b433c028424cbbd43787b7ec085bf1456.tar.bz2
spack-b482c71b433c028424cbbd43787b7ec085bf1456.tar.xz
spack-b482c71b433c028424cbbd43787b7ec085bf1456.zip
New package: glab (#32251)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/glab/package.py23
1 files changed, 23 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/glab/package.py b/var/spack/repos/builtin/packages/glab/package.py
new file mode 100644
index 0000000000..53b360d70b
--- /dev/null
+++ b/var/spack/repos/builtin/packages/glab/package.py
@@ -0,0 +1,23 @@
+# Copyright 2013-2022 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 Glab(Package):
+ """GitLab's official command line tool."""
+
+ homepage = "https://gitlab.com/gitlab-org/cli"
+ url = "https://gitlab.com/gitlab-org/cli/-/archive/v1.22.0/cli-v1.22.0.tar.gz"
+
+ version("1.22.0", sha256="4d9bceb6818c8bf9f681119dae3a65f1c895fa21e9da6b38e8f88d245f524e10")
+ version("1.21.1", sha256="8bb35c5cf6b011ff14d1eaa9ab70ec052d296978792984250e9063b006ee4d50")
+ version("1.20.0", sha256="6beb0186fa50d0dea3b05fcfe6e4bc1f9be0c07aa5fa15b37ca2047b16980412")
+
+ depends_on("go@1.13:", type="build")
+
+ def install(self, spec, prefix):
+ make()
+ make("install", "prefix=" + prefix)