summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew W Elble <aweits@rit.edu>2020-10-22 15:20:30 -0400
committerGitHub <noreply@github.com>2020-10-22 15:20:30 -0400
commite4ce123ddf7541ed3b3489c991a4f6ac0735283e (patch)
treeaa7a0c610007a2a8d887d1ade5600cd42586b6fd
parent0d46531791be3fca61f3752bc2c52531a6f32505 (diff)
downloadspack-e4ce123ddf7541ed3b3489c991a4f6ac0735283e.tar.gz
spack-e4ce123ddf7541ed3b3489c991a4f6ac0735283e.tar.bz2
spack-e4ce123ddf7541ed3b3489c991a4f6ac0735283e.tar.xz
spack-e4ce123ddf7541ed3b3489c991a4f6ac0735283e.zip
hercules (#19434)
-rw-r--r--var/spack/repos/builtin/packages/hercules/package.py22
1 files changed, 22 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/hercules/package.py b/var/spack/repos/builtin/packages/hercules/package.py
new file mode 100644
index 0000000000..6754581999
--- /dev/null
+++ b/var/spack/repos/builtin/packages/hercules/package.py
@@ -0,0 +1,22 @@
+# Copyright 2013-2020 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)
+
+
+class Hercules(MakefilePackage):
+ """Hercules is an amazingly fast and highly customizable Git
+ repository analysis engine written in Go."""
+
+ homepage = "https://github.com/src-d/hercules"
+ url = "https://github.com/src-d/hercules/archive/v10.7.2.tar.gz"
+
+ version('10.7.2', sha256='4654dcfb1eee5af1610fd05677c6734c2ca1161535fcc14d3933d6debda4bc34')
+
+ depends_on('protobuf', type='build')
+ depends_on('go@1.11:', type='build')
+ depends_on('py-labours', type='run')
+
+ def install(self, spec, prefix):
+ mkdirp(prefix.bin)
+ install('hercules', prefix.bin)