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