blob: 7ac1d466c8b91e3f8df1cbb26c11b5050146877c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Copyright 2013-2022 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://spiral.net"
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"]
extends("spiral-software")
version("master", branch="master")
version("1.0.0", sha256="18ae6f0a090de03723612a6c91ca17cf62971129540936d8c2738bd8f807a511")
# HCOL package is an extension for Spiral (spec: spiral-software). Extensions
# packages for Spiral are intended to be installed in the spiral-software prefix,
# in the "namespaces/packages" folder. Install the tree in that folder under the
# name 'hcol'.
def install(self, spec, prefix):
spiral_pkgs = join_path(prefix, "namespaces", "packages", "hcol")
install_tree(".", spiral_pkgs)
|