mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-13 00:34:04 +00:00
Upstream 4.1.0 drops the `setuptools<64` build-system pin from pyproject.toml that was breaking the build against current nixpkgs setuptools.
48 lines
923 B
Nix
48 lines
923 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
buildPythonPackage,
|
|
setuptools,
|
|
numpy,
|
|
scipySupport ? false,
|
|
scipy,
|
|
scikitSupport ? false,
|
|
scikit-learn,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "nengo";
|
|
version = "4.1.0";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "nengo";
|
|
repo = "nengo";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-yZDnttXU5qMmQwFESkhQb06BXcqPEiPYl54azS5b284=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
numpy
|
|
]
|
|
++ lib.optionals scipySupport [ scipy ]
|
|
++ lib.optionals scikitSupport [ scikit-learn ];
|
|
|
|
# checks req missing:
|
|
# pytest-allclose
|
|
# pytest-plt
|
|
# pytest-rng
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "nengo" ];
|
|
|
|
meta = {
|
|
description = "Python library for creating and simulating large-scale brain models";
|
|
homepage = "https://nengo.ai/";
|
|
license = lib.licenses.gpl2Only;
|
|
maintainers = [ ];
|
|
};
|
|
})
|