Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
guix-hpc
Guix-HPC
Commits
5c339a85
Commit
5c339a85
authored
Jun 25, 2021
by
Ludovic Courtès
Browse files
Add python-brian2.
* inria/staging.scm (python-brian2): New variable.
parent
ae40007b
Changes
1
Hide whitespace changes
Inline
Side-by-side
inria/staging.scm
View file @
5c339a85
...
...
@@ -7,8 +7,10 @@
#
:use-module
(
guix
)
#
:use-module
(
guix
git-download
)
#
:use-module
(
guix
build-system
cmake
)
#
:use-module
(
guix
build-system
python
)
#
:use-module
((
guix
licenses
)
#
:prefix
license:
)
#
:use-module
(
gnu
packages
)
#
:use-module
(
gnu
packages
check
)
#
:use-module
(
gnu
packages
gl
)
#
:use-module
(
gnu
packages
image-processing
)
#
:use-module
(
gnu
packages
maths
)
...
...
@@ -116,3 +118,43 @@ datasets of petascale size as well as on laptops for smaller data.")
(
substitute*
"include/metis.h"
((
"define REALTYPEWIDTH.*$"
)
"define REALTYPEWIDTH 64\n"
))))))))))))
(
define-public
python-brian2
(
package
(
name
"python-brian2"
)
(
version
"2.4.2"
)
(
source
(
origin
(
method
url-fetch
)
(
uri
(
pypi-uri
"Brian2"
version
))
(
sha256
(
base32
"1wjrx581xmzrgvc790bk78f38ky65lsiv1n01cmwdn2507s1lwbs"
))))
(
build-system
python-build-system
)
(
arguments
'
(
#
:phases
(
modify-phases
%standard-phases
(
replace
'check
(
lambda*
(
#
:key
tests?
#
:allow-other-keys
)
(
when
tests?
(
invoke
"pytest"
)))))
;; FIXME:
;; AttributeError: 'Config' object has no attribute 'fail_for_not_implemented'
#
:tests?
#f
))
(
propagated-inputs
`
((
"python-cython"
,
python-cython
)
(
"python-jinja2"
,
python-jinja2
)
(
"python-numpy"
,
python-numpy
)
(
"python-pyparsing"
,
python-pyparsing
)
(
"python-setuptools"
,
python-setuptools
)
(
"python-sympy"
,
python-sympy
)))
(
native-inputs
`
((
"python-pytest"
,
python-pytest
)
(
"python-pytest-xdist"
,
python-pytest-xdist
)))
(
home-page
"http://www.briansimulator.org/"
)
(
synopsis
"Clock-driven simulator for spiking neural networks"
)
(
description
"Brian is a simulator for spiking neural networks, written in Python. It
is designed to be easy to learn and use, highly flexible and easily
extensible."
)
(
license
license:cecill
)))
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment