pythonPackages.statsmodels: 0.6.1 -> 0.8.0

This commit is contained in:
Frederik Rietdijk 2017-04-18 12:03:00 +02:00
parent c339d6b122
commit 9435c9d6fc
2 changed files with 33 additions and 23 deletions

View File

@ -0,0 +1,32 @@
{ lib
, buildPythonPackage
, fetchPypi
, nose
, numpy
, scipy
, pandas
, patsy
, cython
, matplotlib
}:
buildPythonPackage rec {
pname = "statsmodels";
version = "0.8.0";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "26431ab706fbae896db7870a0892743bfbb9f5c83231644692166a31d2d86048";
};
buildInputs = with self; [ nose ];
propagatedBuildInputs = with self; [numpy scipy pandas patsy cython matplotlib];
meta = {
description = "Statistical computations and models for use with SciPy";
homepage = "https://www.github.com/statsmodels/statsmodels";
license = licenses.bsd3;
maintainers = with maintainers; [ fridh ];
};
}

View File

@ -24986,29 +24986,7 @@ in {
};
};
statsmodels = buildPythonPackage rec {
name = "statsmodels-${version}";
version = "0.6.1";
src = pkgs.fetchurl {
url = "mirror://pypi/s/statsmodels/${name}.tar.gz";
sha256 = "be4e44374aec9e848b73e5a230dee190ac0c4519e1d40f69a5813190b13ec676";
};
buildInputs = with self; [ nose ];
propagatedBuildInputs = with self; [numpy scipy pandas patsy cython matplotlib];
meta = {
description = "Statistical computations and models for use with SciPy";
homepage = "https://www.github.com/statsmodels/statsmodels";
license = licenses.bsd3;
maintainers = with maintainers; [ fridh ];
};
# Many tests fail when using latest numpy and pandas.
# See also https://github.com/statsmodels/statsmodels/issues/2602
doCheck = false;
};
statsmodels = callPackage ../development/python-modules/statsmodels { };
python_statsd = buildPythonPackage rec {
name = "python-statsd-${version}";