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

33 lines
637 B
Nix
Raw Normal View History

2020-04-17 06:03:23 +02:00
{ lib
, buildPythonPackage
, fetchPypi
, nose
, numpy
, quantities
}:
buildPythonPackage rec {
pname = "neo";
2020-11-29 15:04:34 +01:00
version = "0.9.0";
2020-04-17 06:03:23 +02:00
src = fetchPypi {
inherit pname version;
2020-11-29 15:04:34 +01:00
sha256 = "6e31c88d7c52174fa2512df589b2b5003e9471fde27fca9f315f4770ba3bd3cb";
2020-04-17 06:03:23 +02: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 ];
};
}