2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2018-10-17 05:06:54 +01:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, numpy
|
|
|
|
, matplotlib
|
|
|
|
, scipy
|
|
|
|
, isPy27
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "neuronpy";
|
|
|
|
version = "0.1.6";
|
|
|
|
disabled = !isPy27;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "1clhc2b5fy2l8nfrji4dagmj9419nj6kam090yqxhq5c28sngk25";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ numpy matplotlib scipy ];
|
|
|
|
|
|
|
|
#No tests included
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-10-17 05:06:54 +01:00
|
|
|
description = "Interfaces and utilities for the NEURON simulator and analysis of neural data";
|
|
|
|
maintainers = [ maintainers.nico202 ];
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|