From 9ef736f8a86fe8ea7bb0ac92f0e1306490d9d894 Mon Sep 17 00:00:00 2001 From: Chahatpreet Singh Date: Sun, 10 May 2026 23:13:05 +0000 Subject: [PATCH] python3Packages.nengo: 4.0.0 -> 4.1.0 Upstream 4.1.0 drops the `setuptools<64` build-system pin from pyproject.toml that was breaking the build against current nixpkgs setuptools. --- .../development/python-modules/nengo/default.nix | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/pkgs/development/python-modules/nengo/default.nix b/pkgs/development/python-modules/nengo/default.nix index 144568fd080e..2d65b48c8122 100644 --- a/pkgs/development/python-modules/nengo/default.nix +++ b/pkgs/development/python-modules/nengo/default.nix @@ -10,21 +10,21 @@ scikit-learn, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "nengo"; - version = "4.0.0"; + version = "4.1.0"; pyproject = true; src = fetchFromGitHub { owner = "nengo"; repo = "nengo"; - tag = "v${version}"; - sha256 = "sha256-b9mPjKdewIqIeRrddV1/M3bghSyox7Lz6VbfSLCHZjA="; + tag = "v${finalAttrs.version}"; + hash = "sha256-yZDnttXU5qMmQwFESkhQb06BXcqPEiPYl54azS5b284="; }; - nativeBuildInputs = [ setuptools ]; + build-system = [ setuptools ]; - propagatedBuildInputs = [ + dependencies = [ numpy ] ++ lib.optionals scipySupport [ scipy ] @@ -41,7 +41,7 @@ buildPythonPackage rec { meta = { description = "Python library for creating and simulating large-scale brain models"; homepage = "https://nengo.ai/"; - license = lib.licenses.unfreeRedistributable; + license = lib.licenses.gpl2Only; maintainers = [ ]; }; -} +})