diff options
author | darmac <xiaojun2@hisilicon.com> | 2020-06-15 21:56:29 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-15 15:56:29 +0200 |
commit | 6c2e14dfcaf3a2edec0ab36f0d60fd6bdb9c0688 (patch) | |
tree | cb711046abaeba078687256ab38285da68f96d84 /var | |
parent | 1501de59ed74802f48e32b0657fc6c95997b264a (diff) | |
download | spack-6c2e14dfcaf3a2edec0ab36f0d60fd6bdb9c0688.tar.gz spack-6c2e14dfcaf3a2edec0ab36f0d60fd6bdb9c0688.tar.bz2 spack-6c2e14dfcaf3a2edec0ab36f0d60fd6bdb9c0688.tar.xz spack-6c2e14dfcaf3a2edec0ab36f0d60fd6bdb9c0688.zip |
grafana: added new package at v6.7.3 (#16788)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/grafana/package.py | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/grafana/package.py b/var/spack/repos/builtin/packages/grafana/package.py new file mode 100644 index 0000000000..c323b94252 --- /dev/null +++ b/var/spack/repos/builtin/packages/grafana/package.py @@ -0,0 +1,27 @@ +# 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 Grafana(Package): + """The tool for beautiful monitoring and metric analytics & dashboards + for Graphite, InfluxDB & Prometheus & More""" + + homepage = "https://grafana.com" + url = "https://github.com/grafana/grafana/archive/v6.7.3.tar.gz" + + version('6.7.3', sha256='2477b70bfc8770ab844ee683f72b5efe8a47324b9779663d8e5259ffb9ddb8d8') + version('6.7.2', sha256='dc81cdb77c1c0ae99ae3302a0ef8b3d577f4a717208a90df65da8fcb282122fc') + version('6.7.1', sha256='5750d286273069a195679d5586e810b0ca8cdd08ee07dcdd9b52cfaac8c62b89') + version('6.7.0', sha256='7f4e3f0d42b8188a334e97062c3bf63ff43af273095ba10147b299e3c1c5a7b7') + version('6.6.2', sha256='e11e5971d08e45e277b55e060c0ce3cf25ca0ba144367c53b4836f2d133ed9b8') + + depends_on('go', type='build') + + def install(self, spec, prefix): + go = which('go') + go('run', 'build.go', 'build') + install_tree('bin', prefix.bin) |