From 83d55daae5c0034be5f765c01a7dc513e01b639a Mon Sep 17 00:00:00 2001 From: iarspider Date: Thu, 22 Sep 2022 17:47:44 +0200 Subject: [PATCH] New package: cepgen (#32754) --- .../repos/builtin/packages/cepgen/package.py | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 var/spack/repos/builtin/packages/cepgen/package.py diff --git a/var/spack/repos/builtin/packages/cepgen/package.py b/var/spack/repos/builtin/packages/cepgen/package.py new file mode 100644 index 0000000000..2a8b21b36d --- /dev/null +++ b/var/spack/repos/builtin/packages/cepgen/package.py @@ -0,0 +1,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 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")