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

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

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

    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'))