summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/zipkin/package.py28
1 files changed, 28 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/zipkin/package.py b/var/spack/repos/builtin/packages/zipkin/package.py
new file mode 100644
index 0000000000..841c89a1d2
--- /dev/null
+++ b/var/spack/repos/builtin/packages/zipkin/package.py
@@ -0,0 +1,28 @@
+# 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)
+
+from spack import *
+
+
+class Zipkin(Package):
+ """Zipkin is a distributed tracing system. It helps gather timing
+ data needed to troubleshoot latency problems in service
+ architectures. Features include both the collection and lookup
+ of this data."""
+
+ homepage = "https://zipkin.io/"
+ url = "https://github.com/openzipkin/zipkin/archive/2.21.5.tar.gz"
+
+ version('2.21.5', sha256='e643a810f82f9ea50e2cb6847694c7645507d3deae77685a3a1bb841e0f885a2')
+ version('2.21.4', sha256='ee7b0110b3852479c925b6429ff278aa38b1d5da27f4762891b1f863e67bdad5')
+ version('2.21.3', sha256='02526e2ba4de85938b510cb2db01865ec46cdad53157862c39fa5e9b6cbd15b6')
+
+ depends_on('maven', type='build')
+ depends_on('java', type=('build', 'run'))
+
+ def install(self, spec, prefix):
+ mvn = which('mvn')
+ mvn('package', '-DskipTests')
+ install_tree('.', prefix)