31 lines
822 B
Python
31 lines
822 B
Python
# 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 Cepgen(CMakePackage):
|
|
"""A generic central exclusive processes event generator"""
|
|
|
|
homepage = "https://cepgen.hepforge.org/"
|
|
url = "https://github.com/cepgen/cepgen/archive/refs/tags/1.0.2patch1.tar.gz"
|
|
generator = "Ninja"
|
|
|
|
tags = ["hep"]
|
|
|
|
version(
|
|
"1.0.2patch1", sha256="333bba0cb1965a98dec127e00c150eab1a515cd348a90f7b1d66d5cd8d206d21"
|
|
)
|
|
|
|
depends_on("gsl")
|
|
depends_on("openblas")
|
|
depends_on("hepmc")
|
|
depends_on("hepmc3")
|
|
depends_on("lhapdf")
|
|
depends_on("pythia6")
|
|
depends_on("root")
|
|
|
|
depends_on("ninja", type="build")
|