blob: 66cf09a9550807b129805bede79888bd8ddb338b (
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
numpy,
packaging,
quantities,
pythonOlder,
setuptools,
pytestCheckHook,
pillow,
which,
}:
buildPythonPackage rec {
pname = "neo";
version = "0.13.3";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "NeuralEnsemble";
repo = "python-neo";
rev = "refs/tags/${version}";
hash = "sha256-7Q80vbQInVWxPCr6VvmI9tFfTIAzo9FPJ19q51Xd2KM=";
};
build-system = [ setuptools ];
dependencies = [
numpy
packaging
quantities
];
nativeCheckInputs = [
pytestCheckHook
pillow
which
];
disabledTestPaths = [
# Requires network and export HOME dir
"neo/test/rawiotest/test_maxwellrawio.py"
];
pythonImportsCheck = [ "neo" ];
meta = with lib; {
description = "Package for representing electrophysiology data";
homepage = "https://neuralensemble.org/neo/";
changelog = "https://neo.readthedocs.io/en/${version}/releases/${version}.html";
license = licenses.bsd3;
maintainers = with maintainers; [ bcdarwin ];
};
}
|