# 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 SpiralPackageHcol(Package): """This is the SPIRAL package for the Hybrid Control Operator Language (HCOL).""" homepage = "https://spiralgen.com" url = "https://github.com/spiral-software/spiral-package-hcol/archive/refs/tags/1.0.0.tar.gz" git = "https://github.com/spiral-software/spiral-package-hcol.git" maintainers("spiralgen") # Although this package 'extends("spiral-software")' don't declare it as # such. If this package is required spiral-software should be installed # with the +hcol variant active license("BSD-2-Clause-FreeBSD") version("master", branch="master") version("1.0.0", sha256="18ae6f0a090de03723612a6c91ca17cf62971129540936d8c2738bd8f807a511") # HCOL package is an extension for Spiral (spec: spiral-software). def install(self, spec, prefix): spiral_pkgs = join_path(prefix, "namespaces", "packages", "hcol") install_tree(".", spiral_pkgs)