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";
|
2020-03-29 13:56:40 +02:00
|
|
|
version = "0.11.1";
|
2017-04-18 12:03:00 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-03-29 13:56:40 +02:00
|
|
|
sha256 = "5bde3fa0a35a91b45dba7cbc28270b5b649ff1d721c89290883f6e831672d5f0";
|
2017-04-18 12:03:00 +02:00
|
|
|
};
|
|
|
|
|
2017-09-07 09:48:54 +02:00
|
|
|
checkInputs = with self; [ nose ];
|
2017-04-18 12:03:00 +02:00
|
|
|
propagatedBuildInputs = with self; [numpy scipy pandas patsy cython matplotlib];
|
|
|
|
|
2017-09-07 09:48:54 +02:00
|
|
|
# Huge test suites with several test failures
|
|
|
|
doCheck = false;
|
|
|
|
|
2017-04-18 12:03:00 +02:00
|
|
|
meta = {
|
|
|
|
description = "Statistical computations and models for use with SciPy";
|
2020-04-01 03:11:51 +02:00
|
|
|
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
|
|
|
}
|