summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorTao Lin <831611+mirguest@users.noreply.github.com>2021-09-07 14:16:15 +0800
committerGitHub <noreply@github.com>2021-09-07 08:16:15 +0200
commitc4e85faa2d1125bdd6e913914d565991c6979ec5 (patch)
treeed93afb282b044b28ba25e3ab0e616a9e88b3772 /var
parenta59edb2826dd19a0c1f98082d16ca4f82e6b7bfa (diff)
downloadspack-c4e85faa2d1125bdd6e913914d565991c6979ec5.tar.gz
spack-c4e85faa2d1125bdd6e913914d565991c6979ec5.tar.bz2
spack-c4e85faa2d1125bdd6e913914d565991c6979ec5.tar.xz
spack-c4e85faa2d1125bdd6e913914d565991c6979ec5.zip
garfieldpp: add new package (#25800)
Co-authored-by: Valentin Volkl <valentin.volkl@cern.ch>
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/garfieldpp/package.py25
1 files changed, 25 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/garfieldpp/package.py b/var/spack/repos/builtin/packages/garfieldpp/package.py
new file mode 100644
index 0000000000..1d5905345b
--- /dev/null
+++ b/var/spack/repos/builtin/packages/garfieldpp/package.py
@@ -0,0 +1,25 @@
+# Copyright 2013-2021 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 import *
+
+
+class Garfieldpp(CMakePackage):
+ """Garfield++ is a toolkit for the detailed simulation of particle
+ detectors based on ionisation measurement in gases and semiconductors. """
+
+ homepage = "https://garfieldpp.web.cern.ch/garfieldpp/"
+ url = "https://gitlab.cern.ch/garfield/garfieldpp/-/archive/4.0/garfieldpp-4.0.tar.gz"
+ git = "https://gitlab.cern.ch/garfield/garfieldpp.git"
+
+ tags = ['hep']
+
+ maintainers = ['mirguest']
+
+ version('master', branch='master')
+ version('4.0', sha256='82bc1f0395213bd30a7cd854426e6757d0b4155e99ffd4405355c9648fa5ada3')
+ version('3.0', sha256='c1282427a784658bc38b71c8e8cfc8c9f5202b185f0854d85f7c9c5a747c5406')
+
+ depends_on('root')