summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorValentin Volkl <valentin.volkl@cern.ch>2022-07-05 12:30:15 +0200
committerGitHub <noreply@github.com>2022-07-05 12:30:15 +0200
commitd05ab36ff903a4f1afc487b39415bf8ddadd5a6c (patch)
treef79a0423b18983e219ed83d08f9cae2b97bf8867 /var
parentf6d701ca26b928236e616f7b6a6d40325ebb11e8 (diff)
downloadspack-d05ab36ff903a4f1afc487b39415bf8ddadd5a6c.tar.gz
spack-d05ab36ff903a4f1afc487b39415bf8ddadd5a6c.tar.bz2
spack-d05ab36ff903a4f1afc487b39415bf8ddadd5a6c.tar.xz
spack-d05ab36ff903a4f1afc487b39415bf8ddadd5a6c.zip
bdsim: add new package (#31384)
Co-authored-by: gganis <gerardo.ganis@cern.ch>
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/bdsim/package.py32
1 files changed, 32 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/bdsim/package.py b/var/spack/repos/builtin/packages/bdsim/package.py
new file mode 100644
index 0000000000..7d99e17913
--- /dev/null
+++ b/var/spack/repos/builtin/packages/bdsim/package.py
@@ -0,0 +1,32 @@
+# 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 Bdsim(CMakePackage):
+ """Beam Delivery Simulation (BDSIM) is a C++ program that utilises the Geant4 toolkit
+ to simulate both the transport of particles in an accelerator and their
+ interaction with the accelerator material"""
+
+ homepage = "http://www.pp.rhul.ac.uk/bdsim/manual/index.html"
+ url = "https://bitbucket.org/jairhul/bdsim/get/v1.6.0.tar.gz"
+ git = "https://bitbucket.org/jairhul/bdsim/src/master/"
+
+ tags = ['hep']
+
+ maintainers = ['gganis']
+
+ version('develop', branch='develop')
+ version('1.6.0', sha256='e3241d2d097cb4e22249e315c1474da9b3657b9c6893232d9f9e543a5323f717')
+
+ depends_on('cmake')
+ depends_on('geant4')
+ depends_on('geant4@:10.7.3', when='@:1.6.0')
+ depends_on('root')
+ depends_on('clhep')
+ depends_on('flex')
+ depends_on('bison')