8a45d4525b
GitOrigin-RevId: 710fed5a2483f945b14f4a58af2cd3676b42d8c8
45 lines
744 B
Nix
45 lines
744 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, nose
|
|
, numpy
|
|
, quantities
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "neo";
|
|
version = "0.10.2";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-LUIYsIJtruqIDhVSJwYAKew4oAI4zrXwlxONlGfGOZs=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
numpy
|
|
quantities
|
|
];
|
|
|
|
checkInputs = [
|
|
nose
|
|
];
|
|
|
|
checkPhase = ''
|
|
nosetests --exclude=iotest
|
|
'';
|
|
|
|
pythonImportsCheck = [
|
|
"neo"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Package for representing electrophysiology data";
|
|
homepage = "https://neuralensemble.org/neo/";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ bcdarwin ];
|
|
};
|
|
}
|