2017-04-18 12:03:00 +02:00
|
|
|
{ lib
|
2017-04-24 17:36:28 +02:00
|
|
|
, self
|
2017-04-18 12:03:00 +02:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, nose
|
|
|
|
, numpy
|
|
|
|
, scipy
|
|
|
|
, pandas
|
|
|
|
, patsy
|
|
|
|
, cython
|
|
|
|
, matplotlib
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "statsmodels";
|
|
|
|
version = "0.8.0";
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "26431ab706fbae896db7870a0892743bfbb9f5c83231644692166a31d2d86048";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = with self; [ nose ];
|
|
|
|
propagatedBuildInputs = with self; [numpy scipy pandas patsy cython matplotlib];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Statistical computations and models for use with SciPy";
|
|
|
|
homepage = "https://www.github.com/statsmodels/statsmodels";
|
2017-04-20 10:28:31 +02:00
|
|
|
license = lib.licenses.bsd3;
|
|
|
|
maintainers = with lib.maintainers; [ fridh ];
|
2017-04-18 12:03:00 +02:00
|
|
|
};
|
2017-04-20 10:28:31 +02:00
|
|
|
}
|