1{ lib
2, buildPythonPackage
3, fetchPypi
4, nose
5, numpy
6, quantities
7, pythonOlder
8}:
9
10buildPythonPackage rec {
11 pname = "neo";
12 version = "0.10.0";
13 disabled = pythonOlder "3.6";
14
15 src = fetchPypi {
16 inherit pname version;
17 sha256 = "0lw3r9p1ky1cswhrs9radc0vq1qfzbrk7qd00f34g96g30zab4g5";
18 };
19
20 propagatedBuildInputs = [ numpy quantities ];
21
22 checkInputs = [ nose ];
23
24 checkPhase = ''
25 nosetests --exclude=iotest
26 '';
27
28 meta = with lib; {
29 homepage = "https://neuralensemble.org/neo/";
30 description = "Package for representing electrophysiology data in Python";
31 license = licenses.bsd3;
32 maintainers = with maintainers; [ bcdarwin ];
33 };
34}