python3packages.stytra: init at 0.8.26

This commit is contained in:
tbenst 2019-10-31 14:00:29 -07:00 committed by Jon
parent af596113d1
commit 60829ec4a1
3 changed files with 86 additions and 2 deletions

View file

@ -1,9 +1,10 @@
{ lib, pkgs, buildPythonPackage, fetchPypi, isPy3k
{ lib, pkgs, buildPythonPackage, fetchPypi, isPy27
, numpy
, scipy
, tables
, pandas
, nose
, configparser
}:
buildPythonPackage rec {
@ -24,7 +25,7 @@ buildPythonPackage rec {
scipy
tables
pandas
];
] ++ lib.optionals isPy27 [ configparser ];
meta = {
homepage = "https://github.com/portugueslab/flammkuchen";

View file

@ -0,0 +1,81 @@
{ lib, pkgs, buildPythonPackage, fetchPypi, isPy3k, callPackage
, opencv3
, pyqt5
, pyqtgraph
, numpy
, scipy
, numba
, pandas
, tables
, git
, ffmpeg
, scikitimage
, matplotlib
, qdarkstyle
, GitPython
, anytree
, pims
, imageio
, imageio-ffmpeg
, av
, nose
, pytest
, pyserial
, arrayqueues
, colorspacious
, qimage2ndarray
, flammkuchen
, lightparam
}:
buildPythonPackage rec {
pname = "stytra";
version = "0.8.26";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "81842a957e3114230c2d628f64325cd89d166913b68c3f802c89282f40918587";
};
doCheck = false;
checkInputs = [
nose
pytest
pyserial
];
propagatedBuildInputs = [
opencv3
pyqt5
pyqtgraph
numpy
scipy
numba
pandas
tables
git
ffmpeg
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 ];
};
}

View file

@ -5255,6 +5255,8 @@ in {
structlog = callPackage ../development/python-modules/structlog { };
stytra = callPackage ../development/python-modules/stytra { };
sybil = callPackage ../development/python-modules/sybil { };
# legacy alias