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";
|
2018-06-12 17:47:07 +01:00
|
|
|
version = "0.9.0";
|
2017-04-18 11:03:00 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-06-12 17:47:07 +01:00
|
|
|
sha256 = "6461f93a842c649922c2c9a9bc9d9c4834110b89de8c4af196a791ab8f42ba3b";
|
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
|
|
|
}
|