depot/third_party/nixpkgs/pkgs/development/python-modules/neo/default.nix
Default email 66604c92c1 Project import generated by Copybara.
GitOrigin-RevId: 32b8ed738096bafb4cdb7f70347a0f63f9f40151
2020-05-15 23:57:56 +02:00

32 lines
625 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, nose
, numpy
, quantities
}:
buildPythonPackage rec {
pname = "neo";
version = "0.8.0";
src = fetchPypi {
inherit pname version;
sha256 = "0n74miad4dadavnzi1hqlyzyk795x7qq2adp71i011534ixs70ik";
};
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 ];
};
}