Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
979 B · 55 lines
Nix
at llvm-cleanup
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556{ lib, buildPythonPackage, fetchPypi, cython, jinja2, numpy, pyparsing, setuptools, sympy, pytest, pytest-xdist, python,}:
buildPythonPackage rec { pname = "brian2"; version = "2.6.0"; format = "setuptools";
src = fetchPypi { pname = "Brian2"; inherit version; hash = "sha256-qYeIMn8l2V2Ckpj5AY7TWihFnfZ//JcP5VacUUfYCf4="; };
propagatedBuildInputs = [ cython jinja2 numpy pyparsing setuptools sympy ];
checkInputs = [ pytest pytest-xdist ];
checkPhase = '' runHook preCheck # Cython cache lies in home directory export HOME=$(mktemp -d) cd $HOME && ${python.interpreter} -c "import brian2;assert brian2.test()" runHook postCheck '';
meta = with lib; { description = "A clock-driven simulator for spiking neural networks"; homepage = "https://briansimulator.org/"; license = licenses.cecill21; maintainers = with maintainers; [ jiegec ]; };}