2017-04-18 10:03:00 +00:00
|
|
|
{ lib
|
2017-04-24 15:36:28 +00:00
|
|
|
, self
|
2017-04-18 10:03:00 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, nose
|
|
|
|
, numpy
|
|
|
|
, scipy
|
|
|
|
, pandas
|
|
|
|
, patsy
|
|
|
|
, cython
|
|
|
|
, matplotlib
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "statsmodels";
|
2020-01-28 01:15:40 +00:00
|
|
|
version = "0.11.0";
|
2017-04-18 10:03:00 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-01-28 01:15:40 +00:00
|
|
|
sha256 = "0wcc7xbwlf8r2diw9fnzf4bg9h5cg406w7phd3dz37hx17yfi3ha";
|
2017-04-18 10:03:00 +00:00
|
|
|
};
|
|
|
|
|
2017-09-07 07:48:54 +00:00
|
|
|
checkInputs = with self; [ nose ];
|
2017-04-18 10:03:00 +00:00
|
|
|
propagatedBuildInputs = with self; [numpy scipy pandas patsy cython matplotlib];
|
|
|
|
|
2017-09-07 07:48:54 +00:00
|
|
|
# Huge test suites with several test failures
|
|
|
|
doCheck = false;
|
|
|
|
|
2017-04-18 10:03:00 +00:00
|
|
|
meta = {
|
|
|
|
description = "Statistical computations and models for use with SciPy";
|
2017-08-01 20:03:30 +00:00
|
|
|
homepage = https://www.github.com/statsmodels/statsmodels;
|
2017-04-20 08:28:31 +00:00
|
|
|
license = lib.licenses.bsd3;
|
|
|
|
maintainers = with lib.maintainers; [ fridh ];
|
2017-04-18 10:03:00 +00:00
|
|
|
};
|
2017-04-20 08:28:31 +00:00
|
|
|
}
|