forked from mirrors/nixpkgs
Merge pull request #130014 from arjix/nengo
This commit is contained in:
commit
67fd86a325
|
@ -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";
|
||||
|
|
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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue