depot/third_party/nixpkgs/pkgs/development/python-modules/stytra/default.nix
Default email d419639f9c Project import generated by Copybara.
GitOrigin-RevId: 6b1057b452c55bb3b463f0d7055bc4ec3fd1f381
2021-02-17 18:02:09 +01:00

85 lines
1.3 KiB
Nix

{ lib, buildPythonPackage, fetchPypi, isPy3k
, opencv3
, pyqt5
, pyqtgraph
, numpy
, scipy
, numba
, pandas
, tables
, git
, ffmpeg_3
, scikitimage
, matplotlib
, qdarkstyle
, GitPython
, anytree
, pims
, imageio
, imageio-ffmpeg
, av
, nose
, pytestCheckHook
, pyserial
, arrayqueues
, colorspacious
, qimage2ndarray
, flammkuchen
, lightparam
}:
buildPythonPackage rec {
pname = "stytra";
version = "0.8.34";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "aab9d07575ef599a9c0ae505656e3c03ec753462df3c15742f1f768f2b578f0a";
};
# crashes python
preCheck = ''
rm stytra/tests/test_z_experiments.py
'';
checkInputs = [
nose
pytestCheckHook
pyserial
];
propagatedBuildInputs = [
opencv3
pyqt5
pyqtgraph
numpy
scipy
numba
pandas
tables
git
ffmpeg_3
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";
license = lib.licenses.gpl3;
maintainers = with lib.maintainers; [ tbenst ];
};
}