evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / nengo / default.nix
blob915663c0b13fcffcc3a19570ff2444bb968d89a3
2   lib,
3   fetchFromGitHub,
4   buildPythonPackage,
5   setuptools,
6   numpy,
7   scipySupport ? false,
8   scipy,
9   scikitSupport ? false,
10   scikit-learn,
13 buildPythonPackage rec {
14   pname = "nengo";
15   version = "4.0.0";
16   pyproject = true;
18   src = fetchFromGitHub {
19     owner = "nengo";
20     repo = "nengo";
21     rev = "refs/tags/v${version}";
22     sha256 = "sha256-b9mPjKdewIqIeRrddV1/M3bghSyox7Lz6VbfSLCHZjA=";
23   };
25   nativeBuildInputs = [ setuptools ];
27   propagatedBuildInputs = [
28     numpy
29   ] ++ lib.optionals scipySupport [ scipy ] ++ lib.optionals scikitSupport [ scikit-learn ];
31   # checks req missing:
32   #   pytest-allclose
33   #   pytest-plt
34   #   pytest-rng
35   doCheck = false;
37   pythonImportsCheck = [ "nengo" ];
39   meta = with lib; {
40     description = "Python library for creating and simulating large-scale brain models";
41     homepage = "https://nengo.ai/";
42     license = licenses.unfreeRedistributable;
43     maintainers = with maintainers; [ arjix ];
44   };