Merge pull request #130014 from arjix/nengo

This commit is contained in:
Sandro 2021-07-22 13:29:22 +02:00 committed by GitHub
commit 67fd86a325
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 44 additions and 0 deletions

View file

@ -1060,6 +1060,12 @@
githubId = 135230;
name = "Aycan iRiCAN";
};
arjix = {
email = "arjix@protonmail.com";
github = "arjix";
githubId = 62168569;
name = "arjix";
};
artturin = {
email = "artturin@artturin.com";
github = "artturin";

View file

@ -0,0 +1,36 @@
{ lib, fetchFromGitHub, buildPythonPackage
, numpy
, scipySupport ? false, scipy
, scikitSupport ? false, scikit-learn
}:
buildPythonPackage rec {
pname = "nengo";
version = "3.1.0";
src = fetchFromGitHub {
owner = "nengo";
repo = "nengo";
rev = "v${version}";
sha256 = "1wkayimf2jqkbr6piikh5zd6yw8gf2qv4v4bfrprs4laa6wzh2qh";
};
propagatedBuildInputs = [ numpy ]
++ lib.optionals scipySupport [ scipy ]
++ lib.optionals scikitSupport [ scikit-learn ];
# checks req missing:
# pytest-allclose
# pytest-plt
# pytest-rng
doCheck = false;
pythonImportsCheck = [ "nengo" ];
meta = with lib; {
description = "A Python library for creating and simulating large-scale brain models";
homepage = "https://nengo.ai/";
license = licenses.unfreeRedistributable;
maintainers = with maintainers; [ arjix ];
};
}

View file

@ -4735,6 +4735,8 @@ in {
ndtypes = callPackage ../development/python-modules/ndtypes { };
nengo = callPackage ../development/python-modules/nengo { };
neo = callPackage ../development/python-modules/neo { };
nest-asyncio = callPackage ../development/python-modules/nest-asyncio { };