Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / stytra / default.nix
blob80eefc0a639efc84fbb637af60804bc6c12cd956
1 { lib, buildPythonPackage, fetchPypi, isPy3k
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 , pytestCheckHook
23 , pyserial
24 , arrayqueues
25 , colorspacious
26 , qimage2ndarray
27 , flammkuchen
28 , lightparam
31 buildPythonPackage rec {
32   pname = "stytra";
33   version = "0.8.34";
34   disabled = !isPy3k;
36   src = fetchPypi {
37     inherit pname version;
38     sha256 = "aab9d07575ef599a9c0ae505656e3c03ec753462df3c15742f1f768f2b578f0a";
39   };
41   # crashes python
42   preCheck = ''
43     rm stytra/tests/test_z_experiments.py
44   '';
46   checkInputs = [
47     nose
48     pytestCheckHook
49     pyserial
50   ];
52   propagatedBuildInputs = [
53     opencv3
54     pyqt5
55     pyqtgraph
56     numpy
57     scipy
58     numba
59     pandas
60     tables
61     git
62     ffmpeg_3
63     scikitimage
64     matplotlib
65     qdarkstyle
66     GitPython
67     anytree
68     qimage2ndarray
69     flammkuchen
70     pims
71     colorspacious
72     lightparam
73     imageio
74     imageio-ffmpeg
75     arrayqueues
76     av
77   ];
79   meta = {
80     homepage = "https://github.com/portugueslab/stytra";
81     description = "A modular package to control stimulation and track behaviour";
82     license = lib.licenses.gpl3;
83     maintainers = with lib.maintainers; [ tbenst ];
84   };