2017-04-18 12:03:00 +02:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2020-07-07 13:12:27 -07:00
|
|
|
, isPy27
|
2017-04-18 12:03:00 +02:00
|
|
|
, nose
|
|
|
|
, numpy
|
|
|
|
, scipy
|
|
|
|
, pandas
|
|
|
|
, patsy
|
|
|
|
, cython
|
|
|
|
, matplotlib
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "statsmodels";
|
2022-02-10 14:31:12 +00:00
|
|
|
version = "0.13.2";
|
2020-07-31 01:00:08 -07:00
|
|
|
disabled = isPy27;
|
2017-04-18 12:03:00 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-02-10 14:31:12 +00:00
|
|
|
sha256 = "sha256-d9wpLJk5wDakdvF3D50Il2sFQ32qIpko2nMjEUfN59Q=";
|
2017-04-18 12:03:00 +02:00
|
|
|
};
|
|
|
|
|
2020-07-07 13:12:27 -07:00
|
|
|
nativeBuildInputs = [ cython ];
|
|
|
|
checkInputs = [ nose ];
|
|
|
|
propagatedBuildInputs = [ numpy scipy pandas patsy matplotlib ];
|
2017-04-18 12:03:00 +02:00
|
|
|
|
2017-09-07 09:48:54 +02:00
|
|
|
# Huge test suites with several test failures
|
|
|
|
doCheck = false;
|
2020-07-07 13:12:27 -07:00
|
|
|
pythonImportsCheck = [ "statsmodels" ];
|
2017-09-07 09:48:54 +02:00
|
|
|
|
2017-04-18 12:03:00 +02:00
|
|
|
meta = {
|
|
|
|
description = "Statistical computations and models for use with SciPy";
|
2020-03-31 21:11:51 -04: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
|
|
|
}
|