about summary refs log tree commit diff
path: root/pkgs/development/python-modules/brian2/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/brian2/default.nix')
-rw-r--r--pkgs/development/python-modules/brian2/default.nix42
1 files changed, 22 insertions, 20 deletions
diff --git a/pkgs/development/python-modules/brian2/default.nix b/pkgs/development/python-modules/brian2/default.nix
index 59880be41293a..c6a31766078b3 100644
--- a/pkgs/development/python-modules/brian2/default.nix
+++ b/pkgs/development/python-modules/brian2/default.nix
@@ -1,29 +1,31 @@
-{ lib
-, buildPythonPackage
-, fetchPypi
-, cython
-, jinja2
-, numpy
-, pyparsing
-, setuptools
-, sympy
-, pytest
-, pytest-xdist
-, python
+{
+  lib,
+  buildPythonPackage,
+  fetchPypi,
+  cython,
+  jinja2,
+  numpy,
+  pyparsing,
+  setuptools,
+  sympy,
+  pytest,
+  pytest-xdist,
+  python,
 }:
 
 buildPythonPackage rec {
   pname = "brian2";
-  version = "2.6.0";
-  format = "setuptools";
+  version = "2.7.0";
+  pyproject = true;
 
   src = fetchPypi {
-    pname = "Brian2";
-    inherit version;
-    hash = "sha256-qYeIMn8l2V2Ckpj5AY7TWihFnfZ//JcP5VacUUfYCf4=";
+    inherit pname version;
+    hash = "sha256-d9GDWp8CGIjeprWf4TtchVd36gmo36HBRkBOLaRXbpo=";
   };
 
-  propagatedBuildInputs = [
+  build-system = [ setuptools ];
+
+  dependencies = [
     cython
     jinja2
     numpy
@@ -32,7 +34,7 @@ buildPythonPackage rec {
     sympy
   ];
 
-  checkInputs = [
+  nativeCheckInputs = [
     pytest
     pytest-xdist
   ];
@@ -46,7 +48,7 @@ buildPythonPackage rec {
   '';
 
   meta = with lib; {
-    description = "A clock-driven simulator for spiking neural networks";
+    description = "Clock-driven simulator for spiking neural networks";
     homepage = "https://briansimulator.org/";
     license = licenses.cecill21;
     maintainers = with maintainers; [ jiegec ];