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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
|
{
lib,
anytree,
arrayqueues,
av,
buildPythonPackage,
colorspacious,
fetchPypi,
flammkuchen,
git,
gitpython,
imageio,
imageio-ffmpeg,
lightparam,
matplotlib,
numba,
numpy,
opencv4,
pandas,
pims,
pyqt5,
pyqtgraph,
pyserial,
pytestCheckHook,
qdarkstyle,
qimage2ndarray,
scikit-image,
scipy,
setuptools,
tables,
}:
buildPythonPackage rec {
pname = "stytra";
version = "0.8.34";
pyproject = true;
src = fetchPypi {
inherit pname version;
sha256 = "aab9d07575ef599a9c0ae505656e3c03ec753462df3c15742f1f768f2b578f0a";
};
patches = [
# https://github.com/portugueslab/stytra/issues/87
./0000-workaround-pyqtgraph.patch
];
build-system = [ setuptools ];
dependencies = [
opencv4
pyqt5
pyqtgraph
numpy
scipy
numba
pandas
tables
git
scikit-image
matplotlib
qdarkstyle
gitpython
anytree
qimage2ndarray
flammkuchen
pims
colorspacious
lightparam
imageio
imageio-ffmpeg
arrayqueues
av
];
nativeCheckInputs = [
pytestCheckHook
pyserial
];
disabledTestPaths = [
# Crashes python
"stytra/tests/test_z_experiments.py"
];
meta = {
description = "Modular package to control stimulation and track behaviour";
homepage = "https://github.com/portugueslab/stytra";
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ tbenst ];
};
}
|