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 buildInputs = with self; [ nose ];
25 propagatedBuildInputs = with self; [numpy scipy pandas patsy cython matplotlib];
26
27 meta = {
28 description = "Statistical computations and models for use with SciPy";
29 homepage = https://www.github.com/statsmodels/statsmodels;
30 license = lib.licenses.bsd3;
31 maintainers = with lib.maintainers; [ fridh ];
32 };
33}