summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-brian/package.py
blob: 6a8b43cac7f9c3b2212544167c5b29c03966ad32 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Copyright 2013-2023 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 PyBrian(PythonPackage):
    """A clock-driven simulator for spiking neural networks"""

    homepage = "https://www.briansimulator.org"
    pypi = "brian/brian-1.4.3.tar.gz"

    version("1.4.3", sha256="c881dcfcd1a21990f9cb3cca76cdd868111cfd9e227ef5c1b13bb372d2efeaa4")

    # pip silently replaces distutils with setuptools
    depends_on("py-setuptools", type="build")
    depends_on("py-matplotlib@0.90.1:", type=("build", "run"))
    depends_on("py-numpy@1.4.1:", type=("build", "run"))
    depends_on("py-scipy@0.7.0:", type=("build", "run"))