diff options
author | Andrew W Elble <aweits@rit.edu> | 2021-11-03 18:00:33 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-03 15:00:33 -0700 |
commit | 7b3e02471b8e560b541db0c3e35b47189895b91d (patch) | |
tree | 1bca2fc7d0e97a7e4d05bf9323de48661dd06720 /var | |
parent | 47babb2518b5059c6d28da8f2200f1accf1d66f8 (diff) | |
download | spack-7b3e02471b8e560b541db0c3e35b47189895b91d.tar.gz spack-7b3e02471b8e560b541db0c3e35b47189895b91d.tar.bz2 spack-7b3e02471b8e560b541db0c3e35b47189895b91d.tar.xz spack-7b3e02471b8e560b541db0c3e35b47189895b91d.zip |
new package: telegraf (#27201)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/telegraf/package.py | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/telegraf/package.py b/var/spack/repos/builtin/packages/telegraf/package.py new file mode 100644 index 0000000000..28b350a133 --- /dev/null +++ b/var/spack/repos/builtin/packages/telegraf/package.py @@ -0,0 +1,22 @@ +# Copyright 2013-2021 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 Telegraf(MakefilePackage): + """Telegraf is an agent for collecting, processing, aggregating, + and writing metrics.""" + + homepage = "https://github.com/influxdata/telegraf" + url = "https://github.com/influxdata/telegraf/archive/refs/tags/v1.19.3.tar.gz" + + version('1.20.3', sha256='cf8fd4d38970648281101e8a71b1a48c5765c8aaa9d67619c00272c9192e9057') + version('1.19.3', sha256='d2fb8a3519a5690c801e1221e22c3693ed95204f70f6c57eb13267ca1964c659') + + depends_on('go', type='build') + + def install(self, spec, prefix): + mkdirp(prefix.bin) + install('telegraf', prefix.bin) + install_tree('docs', prefix.docs) |