1{ lib
2, anytree
3, arrayqueues
4, av
5, buildPythonPackage
6, colorspacious
7, fetchPypi
8, flammkuchen
9, git
10, gitpython
11, imageio
12, imageio-ffmpeg
13, lightparam
14, matplotlib
15, nose
16, numba
17, numpy
18, opencv3
19, pandas
20, pims
21, pyqt5
22, pyqtgraph
23, pyserial
24, pytestCheckHook
25, pythonOlder
26, qdarkstyle
27, qimage2ndarray
28, scikit-image
29, scipy
30, tables
31}:
32
33buildPythonPackage rec {
34 pname = "stytra";
35 version = "0.8.34";
36 format = "setuptools";
37
38 disabled = pythonOlder "3.7";
39
40 src = fetchPypi {
41 inherit pname version;
42 sha256 = "aab9d07575ef599a9c0ae505656e3c03ec753462df3c15742f1f768f2b578f0a";
43 };
44
45 # crashes python
46 preCheck = ''
47 rm stytra/tests/test_z_experiments.py
48 '';
49
50 propagatedBuildInputs = [
51 opencv3
52 pyqt5
53 pyqtgraph
54 numpy
55 scipy
56 numba
57 pandas
58 tables
59 git
60 scikit-image
61 matplotlib
62 qdarkstyle
63 gitpython
64 anytree
65 qimage2ndarray
66 flammkuchen
67 pims
68 colorspacious
69 lightparam
70 imageio
71 imageio-ffmpeg
72 arrayqueues
73 av
74 ];
75
76 nativeCheckInputs = [
77 nose
78 pytestCheckHook
79 pyserial
80 ];
81
82 meta = with lib; {
83 description = "A modular package to control stimulation and track behaviour";
84 homepage = "https://github.com/portugueslab/stytra";
85 license = licenses.gpl3Plus;
86 maintainers = with maintainers; [ tbenst ];
87 };
88}