summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/hyphy/package.py
blob: bebb338436b6a5d067c4dece721f816888918b37 (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
# 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 Hyphy(CMakePackage):
    """HyPhy: Hypothesis testing using Phylogenies"""

    homepage = "https://www.hyphy.org/"
    url = "https://github.com/veg/hyphy/archive/2.3.14.tar.gz"

    version("2.5.51hf", sha256="403a5d07a4e7e67d3d8136fa83649713ad28223a2519e5fba3aa82697a03375f")
    version("2.3.14", sha256="9e6c817cb649986e3fe944bcaf88be3533e7e62968b9a486c719e951e5ed1cf6")

    depends_on("openmpi", type="build", when="@2.4:")
    depends_on("cmake@3.12:", type="build", when="@2.4:")
    depends_on("cmake@3.0:", type="build", when="@:2.3")
    depends_on("curl")

    conflicts("%gcc@:4.8")