1{ lib
2, self
3, buildPythonPackage
4, fetchPypi
5, nose
6, numpy
7, scipy
8, pandas
9, patsy
10, cython
11, matplotlib
12}:
13
14buildPythonPackage rec {
15 pname = "statsmodels";
16 version = "0.8.0";
17 name = "${pname}-${version}";
18
19 src = fetchPypi {
20 inherit pname version;
21 sha256 = "26431ab706fbae896db7870a0892743bfbb9f5c83231644692166a31d2d86048";
22 };
23
24 checkInputs = with self; [ nose ];
25 propagatedBuildInputs = with self; [numpy scipy pandas patsy cython matplotlib];
26
27 # Huge test suites with several test failures
28 doCheck = false;
29
30 meta = {
31 description = "Statistical computations and models for use with SciPy";
32 homepage = https://www.github.com/statsmodels/statsmodels;
33 license = lib.licenses.bsd3;
34 maintainers = with lib.maintainers; [ fridh ];
35 };
36}