summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/cmaq/package.py
blob: 19c67899284e28fea27cda6dcb75338d109ad1bd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Copyright 2013-2021 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 Cmaq(Package):
    """Code base for the U.S. EPA's Community Multiscale Air Quality Model
    (CMAQ)."""
    homepage = "http://www.epa.gov/CMAQ"
    url      = "https://github.com/USEPA/CMAQ/archive/CMAQv5.3.1_19Dec2019.tar.gz"

    version('5.3.1', sha256='659156bba27f33010e0fdc157a8d33f3b5b779b95511e2ade870284b6bcb4bc8',
            url='https://github.com/USEPA/CMAQ/archive/CMAQv5.3.1_19Dec2019.tar.gz')
    version('5.3', sha256='e245c291c7e88d481b13f577d1af9aeb5aef4de8c59f7fa06fa41d19bb2ed18c',
            url='https://github.com/USEPA/CMAQ/archive/CMAQv5.3_27Aug2019.tar.gz')

    def install(self, spec, prefix):
        install_tree('.', prefix)