2021-02-17 17:02:09 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, isPy3k
|
2020-04-24 23:36:52 +00:00
|
|
|
, opencv3
|
|
|
|
, pyqt5
|
|
|
|
, pyqtgraph
|
|
|
|
, numpy
|
|
|
|
, scipy
|
|
|
|
, numba
|
|
|
|
, pandas
|
|
|
|
, tables
|
|
|
|
, git
|
|
|
|
, scikitimage
|
|
|
|
, matplotlib
|
|
|
|
, qdarkstyle
|
|
|
|
, GitPython
|
|
|
|
, anytree
|
|
|
|
, pims
|
|
|
|
, imageio
|
|
|
|
, imageio-ffmpeg
|
|
|
|
, av
|
|
|
|
, nose
|
2021-02-17 17:02:09 +00:00
|
|
|
, pytestCheckHook
|
2020-04-24 23:36:52 +00:00
|
|
|
, pyserial
|
|
|
|
, arrayqueues
|
|
|
|
, colorspacious
|
|
|
|
, qimage2ndarray
|
|
|
|
, flammkuchen
|
|
|
|
, lightparam
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "stytra";
|
2020-08-20 17:08:02 +00:00
|
|
|
version = "0.8.34";
|
2020-04-24 23:36:52 +00:00
|
|
|
disabled = !isPy3k;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-08-20 17:08:02 +00:00
|
|
|
sha256 = "aab9d07575ef599a9c0ae505656e3c03ec753462df3c15742f1f768f2b578f0a";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
2021-02-17 17:02:09 +00:00
|
|
|
|
|
|
|
# crashes python
|
|
|
|
preCheck = ''
|
|
|
|
rm stytra/tests/test_z_experiments.py
|
|
|
|
'';
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
checkInputs = [
|
|
|
|
nose
|
2021-02-17 17:02:09 +00:00
|
|
|
pytestCheckHook
|
2020-04-24 23:36:52 +00:00
|
|
|
pyserial
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
opencv3
|
|
|
|
pyqt5
|
|
|
|
pyqtgraph
|
|
|
|
numpy
|
|
|
|
scipy
|
|
|
|
numba
|
|
|
|
pandas
|
|
|
|
tables
|
|
|
|
git
|
|
|
|
scikitimage
|
|
|
|
matplotlib
|
|
|
|
qdarkstyle
|
|
|
|
GitPython
|
|
|
|
anytree
|
|
|
|
qimage2ndarray
|
|
|
|
flammkuchen
|
|
|
|
pims
|
|
|
|
colorspacious
|
|
|
|
lightparam
|
|
|
|
imageio
|
|
|
|
imageio-ffmpeg
|
|
|
|
arrayqueues
|
|
|
|
av
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "https://github.com/portugueslab/stytra";
|
|
|
|
description = "A modular package to control stimulation and track behaviour";
|
2021-05-20 23:08:51 +00:00
|
|
|
license = lib.licenses.gpl3Plus;
|
2020-04-24 23:36:52 +00:00
|
|
|
maintainers = with lib.maintainers; [ tbenst ];
|
|
|
|
};
|
|
|
|
}
|