depot/third_party/nixpkgs/pkgs/development/python-modules/neo/default.nix
Default email 8a45d4525b Project import generated by Copybara.
GitOrigin-RevId: 710fed5a2483f945b14f4a58af2cd3676b42d8c8
2022-03-30 11:31:56 +02:00

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 ];
};
}