diff --git a/packages/nest-desktop/package.py b/packages/nest-desktop/package.py new file mode 100644 index 0000000000000000000000000000000000000000..98b7e6c79e314be7ced7c3813c97698422d38aad --- /dev/null +++ b/packages/nest-desktop/package.py @@ -0,0 +1,27 @@ +# Copyright 2013-2024 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 NestDesktop(PythonPackage): + """NEST Desktop is a web-based GUI for NEST Simulator and other + simulators of spiking networks.""" + + homepage = "http://www.nest-desktop.github.io" + pypi = "nest-desktop/nest_desktop-4.0.5.tar.gz" + git = "https://github.com/nest-desktop/nest-desktop.git" + + maintainers = ['spreizer'] + + version('4.0.5', sha256='fffd472bf2f5e1a4398ad82cbe626e1b306d68b0e3a31ffcca71cd3449d8ef2f') + + variant("nest", default=False) + + depends_on("python@3.9:", type=("build", "run")) + depends_on("py-setuptools", type=("build")) + + depends_on('nest@3.0:', type=('run'), when='+nest') + diff --git a/spack.yaml b/spack.yaml index beaf68f9b2a859e7365f33ae0941e3f597a548a7..f17f4f3ff518a2adc5cc8ac186bde72876b63737 100644 --- a/spack.yaml +++ b/spack.yaml @@ -13,6 +13,7 @@ spack: - py-biobb-structure-checking@3.13.4 - py-biobb-structure-utils@4.1.0 - hxtorch@10.0-a1 + - nest-desktop@4.0.5 - nest@3.8 +sonata - neuron@8.2.3 +mpi - jaxsnn@10.0-a1