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