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