depot/third_party/nixpkgs/pkgs/development/python-modules/neo/default.nix
Default email 78efc47b99 Project import generated by Copybara.
GitOrigin-RevId: 83cbad92d73216bb0d9187c56cce0b91f9121d5a
2020-12-07 07:45:13 +00:00

32 lines
637 B
Nix

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