python3Packages.nengo: init at 3.1.0
This commit is contained in:
parent
eaff114326
commit
04531da0fd
36
pkgs/development/python-modules/nengo/default.nix
Normal file
36
pkgs/development/python-modules/nengo/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
@ -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 { };
|
||||||
|
Loading…
Reference in New Issue
Block a user