spack/var/spack/repos/builtin/packages/minio/package.py
Harmen Stoppels fce95e2efb
license year bump (#34921)
* license bump year
* fix black issues of modified files
* mypy
* fix 2021 -> 2023
2023-01-18 14:30:17 -08:00

39 lines
1.3 KiB
Python

# Copyright 2013-2023 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.package 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)