nixpkgs/pkgs/development/python-modules/neo/default.nix

35 lines
672 B
Nix
Raw Normal View History

2020-04-17 05:03:23 +01:00
{ lib
, buildPythonPackage
, fetchPypi
, nose
, numpy
, quantities
2021-07-31 22:01:53 +01:00
, pythonOlder
2020-04-17 05:03:23 +01:00
}:
buildPythonPackage rec {
pname = "neo";
2021-07-31 22:01:53 +01:00
version = "0.10.0";
disabled = pythonOlder "3.6";
2020-04-17 05:03:23 +01:00
src = fetchPypi {
inherit pname version;
2021-07-31 22:01:53 +01:00
sha256 = "0lw3r9p1ky1cswhrs9radc0vq1qfzbrk7qd00f34g96g30zab4g5";
2020-04-17 05:03:23 +01:00
};
propagatedBuildInputs = [ numpy quantities ];
checkInputs = [ nose ];
checkPhase = ''
nosetests --exclude=iotest
'';
meta = with lib; {
homepage = "https://neuralensemble.org/neo/";
description = "Package for representing electrophysiology data in Python";
license = licenses.bsd3;
maintainers = with maintainers; [ bcdarwin ];
};
}