diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2023-05-22 13:09:06 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-22 11:09:06 -0700 |
commit | 7843e2ead02d7c9a27d5df2d248ece88f08a6493 (patch) | |
tree | fab4d13eb2cbb176eeb17e97b7a2fb69219b7cbd | |
parent | dca3d071d778cb7ca85166028acb5b866124157c (diff) | |
download | spack-7843e2ead02d7c9a27d5df2d248ece88f08a6493.tar.gz spack-7843e2ead02d7c9a27d5df2d248ece88f08a6493.tar.bz2 spack-7843e2ead02d7c9a27d5df2d248ece88f08a6493.tar.xz spack-7843e2ead02d7c9a27d5df2d248ece88f08a6493.zip |
azcopy: add new package (#37693)
-rw-r--r-- | var/spack/repos/builtin/packages/azcopy/package.py | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/azcopy/package.py b/var/spack/repos/builtin/packages/azcopy/package.py new file mode 100644 index 0000000000..9e1f29a662 --- /dev/null +++ b/var/spack/repos/builtin/packages/azcopy/package.py @@ -0,0 +1,22 @@ +# 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 Azcopy(Package): + """AzCopy is a command-line utility that you can use to copy data to and from containers and + file shares in Azure Storage accounts. + """ + + homepage = "https://github.com/Azure/azure-storage-azcopy" + url = "https://github.com/Azure/azure-storage-azcopy/archive/refs/tags/v10.18.1.tar.gz" + + version("10.18.1", sha256="80292625d7f1a6fc41688c5948b3a20cfdae872464d37d831e20999430819c3f") + + depends_on("go", type="build") + + def install(self, spec, prefix): + go("build", "-o", prefix.bin.azcopy) |