a3d4720129
GitOrigin-RevId: e182da8622a354d44c39b3d7a542dc12cd7baa5f
38 lines
810 B
Nix
38 lines
810 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, isPy27
|
|
, nose
|
|
, numpy
|
|
, scipy
|
|
, pandas
|
|
, patsy
|
|
, cython
|
|
, matplotlib
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "statsmodels";
|
|
version = "0.13.4";
|
|
disabled = isPy27;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-juXRtp9kvA6TeWZ0Ve41hYSdXmvNPz5I5Yumytrf6tU=";
|
|
};
|
|
|
|
nativeBuildInputs = [ cython ];
|
|
checkInputs = [ nose ];
|
|
propagatedBuildInputs = [ numpy scipy pandas patsy matplotlib ];
|
|
|
|
# Huge test suites with several test failures
|
|
doCheck = false;
|
|
pythonImportsCheck = [ "statsmodels" ];
|
|
|
|
meta = {
|
|
description = "Statistical computations and models for use with SciPy";
|
|
homepage = "https://www.github.com/statsmodels/statsmodels";
|
|
license = lib.licenses.bsd3;
|
|
maintainers = with lib.maintainers; [ fridh ];
|
|
};
|
|
}
|