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.11.0";
17
18 src = fetchPypi {
19 inherit pname version;
20 sha256 = "0wcc7xbwlf8r2diw9fnzf4bg9h5cg406w7phd3dz37hx17yfi3ha";
21 };
22
23 checkInputs = with self; [ nose ];
24 propagatedBuildInputs = with self; [numpy scipy pandas patsy cython matplotlib];
25
26 # Huge test suites with several test failures
27 doCheck = false;
28
29 meta = {
30 description = "Statistical computations and models for use with SciPy";
31 homepage = https://www.github.com/statsmodels/statsmodels;
32 license = lib.licenses.bsd3;
33 maintainers = with lib.maintainers; [ fridh ];
34 };
35}