My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/neo/default.nix

45 lines
744 B

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