summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorAlec Scott <hi@alecbcs.com>2023-11-28 01:33:46 -0800
committerGitHub <noreply@github.com>2023-11-28 10:33:46 +0100
commit18efd808da878a137a05bb1e2633b67458577b06 (patch)
tree299b2644047a2ea93ece1604db88b6c7f2fc05c2 /var
parent5299b84319d34072fae5be6abdf8e57f06be94e9 (diff)
downloadspack-18efd808da878a137a05bb1e2633b67458577b06.tar.gz
spack-18efd808da878a137a05bb1e2633b67458577b06.tar.bz2
spack-18efd808da878a137a05bb1e2633b67458577b06.tar.xz
spack-18efd808da878a137a05bb1e2633b67458577b06.zip
GoPackage: add new build system for Go packages (#41164)
Co-authored-by: Tom Scogland <scogland1@llnl.gov> Co-authored-by: Wouter Deconinck <wdconinc@gmail.com> Co-authored-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/lazygit/package.py20
-rw-r--r--var/spack/repos/builtin/packages/scc/package.py22
2 files changed, 42 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/lazygit/package.py b/var/spack/repos/builtin/packages/lazygit/package.py
new file mode 100644
index 0000000000..81395262bf
--- /dev/null
+++ b/var/spack/repos/builtin/packages/lazygit/package.py
@@ -0,0 +1,20 @@
+# Copyright 2013-2023 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 Lazygit(GoPackage):
+ """A simple terminal UI for git commands"""
+
+ homepage = "https://github.com/jesseduffield/lazygit"
+ url = "https://github.com/jesseduffield/lazygit/archive/refs/tags/v0.40.2.tar.gz"
+
+ maintainers("twrs")
+
+ license("MIT")
+
+ version("0.40.2", sha256="146bd63995fcf2f2373bbc2143b3565b7a2be49a1d4e385496265ac0f69e4128")
diff --git a/var/spack/repos/builtin/packages/scc/package.py b/var/spack/repos/builtin/packages/scc/package.py
new file mode 100644
index 0000000000..b0eae1b3c8
--- /dev/null
+++ b/var/spack/repos/builtin/packages/scc/package.py
@@ -0,0 +1,22 @@
+# Copyright 2013-2023 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 Scc(GoPackage):
+ """
+ Sloc, Cloc and Code: scc is a very fast accurate code counter with
+ complexity calculations and COCOMO estimates written in pure Go.
+ """
+
+ homepage = "https://github.com/boyter/scc"
+ url = "https://github.com/boyter/scc/archive/refs/tags/v3.1.0.tar.gz"
+ git = "https://github.com/boyter/scc.git"
+
+ license("MIT")
+
+ version("3.1.0", sha256="bffea99c7f178bc48bfba3c64397d53a20a751dfc78221d347aabdce3422fd20")