python3Packages.neo: add pythonImportsCheck

This commit is contained in:
Fabian Affolter 2022-03-10 23:49:35 +01:00 committed by GitHub
parent 98dc9e6f4a
commit 9be670721b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,24 +10,35 @@
buildPythonPackage rec {
pname = "neo";
version = "0.10.2";
disabled = pythonOlder "3.6";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-LUIYsIJtruqIDhVSJwYAKew4oAI4zrXwlxONlGfGOZs=";
};
propagatedBuildInputs = [ numpy quantities ];
propagatedBuildInputs = [
numpy
quantities
];
checkInputs = [ nose ];
checkInputs = [
nose
];
checkPhase = ''
nosetests --exclude=iotest
'';
pythonImportsCheck = [
"neo"
];
meta = with lib; {
description = "Package for representing electrophysiology data";
homepage = "https://neuralensemble.org/neo/";
description = "Package for representing electrophysiology data in Python";
license = licenses.bsd3;
maintainers = with maintainers; [ bcdarwin ];
};