python3Packages.nengo: init at 3.1.0

This commit is contained in:
arjix 2021-07-12 14:41:16 +02:00
parent eaff114326
commit 04531da0fd
2 changed files with 38 additions and 0 deletions

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

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