summary refs log tree commit diff
path: root/pkgs/development/python-modules/neurotools/default.nix
blob: b117d7a79a37fe1c51501dba43a33c482e6fcc57 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{ stdenv, buildPythonPackage, fetchPypi, isPy3k
, scipy, numpy, matplotlib, tables, pyaml, urllib3, rpy2, mpi4py }:

buildPythonPackage rec {
  pname = "NeuroTools";
  version = "0.3.1";
  disabled = isPy3k;

  src = fetchPypi {
    inherit pname version;
    sha256 = "0ly6qa87l3afhksab06vp1iimlbm1kdnsw98mxcnpzz9q07l4nd4";
  };

  # Tests are not automatically run
  # Many tests fail (using py.test), and some need R
  doCheck = false;

  propagatedBuildInputs = [
    scipy
    numpy
    matplotlib
    tables
    pyaml
    urllib3
    rpy2
    mpi4py
  ];

  meta = with stdenv.lib; {
    description = "Collection of tools to support analysis of neural activity";
    homepage = https://pypi.python.org/pypi/NeuroTools;
    license = licenses.gpl2;
    maintainers = with maintainers; [ nico202 ];
  };
}