Commit 5c339a85 authored by Ludovic Courtès's avatar Ludovic Courtès
Browse files

Add python-brian2.

* inria/staging.scm (python-brian2): New variable.
parent ae40007b
......@@ -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
(name "python-brian2")
(version "2.4.2")
(method url-fetch)
(uri (pypi-uri "Brian2" version))
(build-system python-build-system)
'(#:phases (modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(invoke "pytest")))))
;; AttributeError: 'Config' object has no attribute 'fail_for_not_implemented'
#:tests? #f))
`(("python-cython" ,python-cython)
("python-jinja2" ,python-jinja2)
("python-numpy" ,python-numpy)
("python-pyparsing" ,python-pyparsing)
("python-setuptools" ,python-setuptools)
("python-sympy" ,python-sympy)))
`(("python-pytest" ,python-pytest)
("python-pytest-xdist" ,python-pytest-xdist)))
(home-page "")
(synopsis "Clock-driven simulator for spiking neural networks")
"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
(license license:cecill)))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment