diff options
author | darmac <xiaojun2@hisilicon.com> | 2020-07-15 10:45:47 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-14 21:45:47 -0500 |
commit | bcd41cec71c927bbcc62a403427b2ba4e4df02ea (patch) | |
tree | d7ecb0b647dc93f47aeff39c84e79de86ad02d3b | |
parent | 6f6e896795f5daa3785361ca0bf1413b9f27a029 (diff) | |
download | spack-bcd41cec71c927bbcc62a403427b2ba4e4df02ea.tar.gz spack-bcd41cec71c927bbcc62a403427b2ba4e4df02ea.tar.bz2 spack-bcd41cec71c927bbcc62a403427b2ba4e4df02ea.tar.xz spack-bcd41cec71c927bbcc62a403427b2ba4e4df02ea.zip |
Add new package: minio (#17522)
-rw-r--r-- | var/spack/repos/builtin/packages/minio/package.py | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/minio/package.py b/var/spack/repos/builtin/packages/minio/package.py new file mode 100644 index 0000000000..4485f650e7 --- /dev/null +++ b/var/spack/repos/builtin/packages/minio/package.py @@ -0,0 +1,29 @@ +# 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 Minio(MakefilePackage): + """MinIO is a High Performance Object Storage released under Apache + License v2.0. It is API compatible with Amazon S3 cloud storage + service. Use MinIO to build high performance infrastructure for + machine learning, analytics and application data workloads.""" + + homepage = "https://min.io/" + url = "https://github.com/minio/minio/archive/RELEASE.2020-07-13T18-09-56Z.tar.gz" + + version('2020-07-13T18-09-56Z', sha256='147fca3930389162cc7306a0fa5cf478ee2deba4b31a9317f3d35e82aa58d41e') + version('2020-07-12T19-14-17Z', sha256='bb8ba5d93215ab37788171d8b9ce68e78d64e7b7c74aea508c15958158d85b03') + version('2020-07-02T00-15-09Z', sha256='4255c4d95a3e010f16a3f1e974768dc68509075403a97a9b9882f7d9e89fedc5') + + depends_on('go', type='build') + + def url_for_version(self, version): + return ("https://github.com/minio/minio/archive/RELEASE.{0}.tar.gz".format(version)) + + def install(self, spec, prefix): + mkdirp(prefix.bin) + install('minio', prefix.bin) |