File indexing completed on 2025-01-18 09:15:26
0001
0002
0003
0004
0005
0006
0007 from spack.package import *
0008
0009
0010 class Hepmcmerger(CMakePackage):
0011 """An EIC HepMC merger to combine signal and background events."""
0012
0013 homepage = "https://github.com/eic/HEPMC_Merger"
0014 url = "https://github.com/eic/HEPMC_Merger/archive/refs/tags/v1.0.4.tar.gz"
0015 list_url = "https://github.com/eic/HEPMC_Merger/tags"
0016 git = "https://github.com/eic/HEPMC_Merger.git"
0017
0018 maintainers("kkauder")
0019
0020 tags = ["eic"]
0021
0022 version("main", branch="main")
0023 version("1.0.4", sha256="0f5e1d6b2d76af764f5cc528ccfad1269047f6e361b6bc0a1b80941388f71437")
0024 version("1.0.3", sha256="9f245dc46e159f9424383a4337ebbc685973e83240fe178c776e6cca5e9674f0")
0025 version("1.0.2", sha256="e8bb639545e472f46b7de8f0c6e03c9ee61086c92b8ffcba661f0fe3b1064ad6")
0026 version("1.0.1", sha256="419732c2d46afbad89e32362d339a643dc1e6e5ff9724c3027a45aef1b8fbf95")
0027 version("1.0.0", sha256="5f36b0b65f1062aab79dc6653b6f6fecb9682022f1a471efa62b5614c9731618")
0028
0029 depends_on("cxx", type="build")
0030
0031 depends_on("hepmc3")
0032 depends_on("root")
0033
0034 def cmake_args(self):
0035 args = [
0036 self.define("CMAKE_CXX_STANDARD", self.spec["root"].variants["cxxstd"].value),
0037 ]
0038 return args