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.9.0";
17
18 src = fetchPypi {
19 inherit pname version;
20 sha256 = "6461f93a842c649922c2c9a9bc9d9c4834110b89de8c4af196a791ab8f42ba3b";
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}